I am working on PDF viewer on iOS, calling [TiledLayer setNeedsDisplay] invalidates display region well in iOS 3.X version. The same code doesn't work on iOS 4.0 onwards. I searched thru forum, None of them helped me.
Could anyone point some clue to resolve this issue?
Related
Im using node.js with Cordova for iOS. I upgraded to Cordova 10.0.0 and it doesn't seem to include the wkwebviewonly support. It still seems to reference UIWebView. I wanted to use the wkwebviewonly plugin and everyone seems to have issues when using it with iOS 6 or higher. I have iOS 6.1. Can anyone give insight or help with this? Is there any solution aside fro downgrading to iOS 5? I am new to everything so I may be missing something here. Please help! Thank you :)
Does anyone know if Xamarin iOS has support for Vision.VNRecognizeTextRequest. I came across a old post https://github.com/xamarin/xamarin-macios/issues/6830 which says it is not available in Xamarin iOS 13.
What is the latest status?
Based on the issue it seems to be fixed and there are also two Xamarin samples on GitHub using VNRecognizeTextRequest, as you can see here and here.
When deploying an existing Xamarin forms proj from Visual Studio I was getting errors like "Failed to load AOT module ‘System.Net.Http’ while running in aot-only mode". This had worked in the past, it seemed Xcode had recently updated before I hit the problem. I found I was able to get the project deploying by changing the csproj entry 10.0 to 10.3. It looks like I could change this setting and everyone would be ok if they also had updated xcode.
My concern is: Does this change what versions of iOS the application can support? Would it have any other surprises when deployed to the apple store?
One thing I don't understand is I am the only person seeing this issue. Another developer is able to deploy to an iOS device (iPad instead of an iPhone) that also has the latest version of iOS without problems. Running “xcodebuild -version” shows we have the same version of xcode installed (8.3.1) and running “xcodebuild -showsdks” shows we have the same iOS sdk available (iOS 10.3).
There is some good documentation on the iOS SDK version: https://developer.apple.com/library/content/documentation/DeveloperTools/Conceptual/cross_development/Overview/overview.html#//apple_ref/doc/uid/20002001-BABEBGCF
You can build against a higher version of the SDK and run against lower versions of iOS.
Building against different versions of the iOS SDK can cause differences in behavior, these may show as regressions in your application.
About two years ago I built an image viewer into my Monotouch application. See this question of mine from way back when I was looking for an image viewer for monotouch. I used the source of MTGallery and used btouch to bring this into my Monotouch application. This worked perfectly and has been working perfectly for the last two years. But at some point in the last six months one of the updates that I did to Monodevelop has broken this functionality. Now the viewer is not showing the image, it is just showing a blank screen. The source for this hasn't changed, in fact it I still have the compiled library that was compiled two years ago.
I know that at the end of last year, I could compile my Monotouch application and the image viewer would work correctly. I have a backup of the application source from December 2012. If I deploy the version that was compiled then to my iPad it works correctly. But if I recompile the same source now without making any changes to the source or the settings in Monodevelop, it doesn't work.
So, this is what I have tried: Updated Monodevelop (I had to upgrade my Mac OS to Mountain Lion to be able to do this). Installed Xamarin Studio and got a new license for this development environment. The image viewer does not work when compiled in either Monodevelop or Xamarin Studio. I have tried recompiling the Objective-C library. I tried using btouch again to recreate the C# files for inclusion in my project.
Nothing I have tried so far has helped. Does anyone have any idea what could be causing this issue and what I could try changing to get this working.
UPDATE:
I am now a step further; I have determined that the static library is in fact being called and if I rotate my iPad the image is then showing in the viewer, but is not showing before a rotation takes place. From looking at the Objective-C code it appears that the image was initially being loaded by the scrollViewDidEndDecelerating delegate method of the UIScrollView. It seems that this is now not firing when the image viewer loads, whereas previously it was firing.
If it did work and suddenly doesn't without any change from you, it's probably a bug in Xamarin.iOS/Studio. The best way to get this fixed is to create a bug (http://bugzilla.xamarin.com) and attach your project so we can have a look at it.
Symptoms: app crashes right after starting:
OS Version: iPhone OS 5.1.1 (9B206)
Report Version: 104
Exception Type: EXC_BREAKPOINT (SIGTRAP)
Exception Codes: 0x00000001, 0xe7ffdefe
Crashed Thread: 0
Dyld Error Message:
Symbol not found: _ACFacebookAppIdKey
Referenced from: /var/mobile/Applications/C9CCEC42-DD12-40D1-91EE-965A8AC37AE4/MyApp.app/MyApp
Expected in: /System/Library/Frameworks/Accounts.framework/Accounts
in /var/mobile/Applications/1234EC42-0012-40D1-1234-965A8AC31234/MyApp.app/MyApp
Dyld Version: 199.6
This problem is specific to the MonoTouch binding for the Facebook iOS SDK, and it only happens for iOS 5.0 and 5.1. It can be reproduced by simply running the sample project on an iOS 5 device.
There's a related SO question (Facebook SDK 3.1 for iOS - runs on iOS6, but crashes on iOS 5.x) which suggests making the framework optional. As far as I know, this cannot be done from Xamarin.iOS, but the LinkWith assembly attribute in the binding already has WeakFrameworks = "Accounts AdSupport Social", which I assume is the equivalent of making those frameworks optional in XCode. So, no help there.
The problem seems to be a bug in the MonoTouch binding, Xamarin.iOS, or the Facebook iOS SDK itself. Any ideas?
It can be solved very easily..
Click on your project Targets.
then go to summary
Under Linked Frameworks and Libraries
Change Required Option into Optional of three Frameworks are :
Social.framework
AdSupport.framework
Accounts.framework
Now you can also run and check your code on iPAD or iPHONE simulator 5 or 5.1
This is a known bug which has been fixed (but the fix hasn't reached any stable version of Xamarin.iOS yet - the bug report says it'll be included in the 6.2.2 release, but that didn't happen).
Currently the only known workaround is to use an older version of the Facebook SDK.