Apparently Mediapicker functionality was changed in iOS 8, resulting in Xamarin.Forms.Lab's mediapicker solution failing. Does anyone know of a workaround for this or, lacking that, and alternate multiplatform solution for accessing the camera and media library for Android and iOS in Xamarin?
Error on my part. This is working just fine - the problem was that calling mediapicker functionality from DisplayActionSheet was causing problems.
Related
I'm facing a strange error. App only crashes on physical device. But iOS simulator does not. It working fine.
The strange thing is it crashes when you open an app and FinishedLaunching(UIApplication app, NSDictionary options) method does not call at all.
What possibilities might have this issue?
One of the third-party iOS library (nuget package) was configured to iOS-Simulator. not physical iOS.
After the package author released hot-fix, it resolved.
try to change the linker Behaviour use the SDK-Only
go to Xamarin.iOS solution select ios build choose linker behaviour and change it
I am trying to add Lottie animations to my project.
So far I've only tested on android and I got it working.
Now I'm also trying to add them to my UWP app but I can't find a guide on how to do this.
There is this link that tells me lottie is supported on UWP.
And this post and (probably as a reaction) this post suggests it is possible within xamarin forms uwp.
I can't find a clear reference (or a tutorial) online if this is supported for Xamarin.Forms UWP projects. I'm mainly in doubt because I'm not sure if the Xamarin.Forms.UWP 'flavor' is the same as a 'normal' UWP application.
I could really appreciate a nudge in the right direction.
I think it has something to do with this bug.
Although this sample with an older version (2.5.4) was not built with "support" for UWP
I did get it working by adding the resources to the root dir and setting the build action to Content.
Downgrading the library in my own project to 2.5.4 fixed the problem for me.
I'm making app with using XF pcl.
If I add Pinchzoomgesture on View inside Scrollview, It's working fine on iOS but not on Android.
Seems like a bug?
Any a workaround?
Thanks.
This sounds like a bug. One workaround may be to use the third party plugin Mr.Gestures which supports Pinch gestures in a ScrollView.
Either that or you could file a bug report at: https://bugzilla.xamarin.com/
Or you could have a go at fixing this issue yourself: https://github.com/xamarin/Xamarin.Forms
So, I followed the short tutorial from the website on how to create a simple app an iOS, "Phoneword". Developing it and testing it all worked fine, until I tried it out on my physical iPhone 6S Plus. It compiles and installs just fine, but when opening it, it looks completely wrong.
This is how it looks inside of Visual Studio as iPhone 6
But on my physical device (or in iPhone 6 emulator)
Am I missing something?
Thanks, Krax
On Xamarin.iOS you can use Auto Layout to position your views on the screen. You can use Auto Layout with storyboards, XIBs or even in code. Whichever way you prefer. (You did not specify in your question)
I try to get the UDID without using the UIDevice class but directly from implementing the dynamic library liblockdown.dylib on iOs 4.2. I don't find any documentation. All I need is to get the kLockdownUniqueDeviceIDKey, what should I do ?
I don't know about iOS 4, but I know that the UDID can also be retrieved on iOS 5, 6 and 7 using the libMobileGestalt.dylib. More information about this library can be found on the iPhone Development Wiki.
Here is the header for the liblockdown.dylib
here implementation:
https://github.com/theiostream/lockdown-uiduid/blob/master/main.mm
This code work on iOS 6.1.3 but it does not work on iOS 7b2 :(