I am facing a problem when trying to start camera app from Xamarin.iOS application.
The following code is used for opening the camera app. It worked on all previous iOS versions, without any problems.
mediaPickerController = mediaPicker.GetTakePhotoUI(new StoreCameraMediaOptions<br />
Name = "filename",<br />
Directory = "dirname",<br />
this.PresentViewController(mediaPickerController, true, null);<br />
mediaPickerController.GetResultAsync().ContinueWith(t =><br />
//do something<br />
What I have experienced on iOS 10 is that this code gets executed properly, without exceptions, chrashes, etc., but camera doesn't get opened.
I've started Camera app manually, and verified that it works.
Has anyone had the same or similar problems? What could be wrong? Is it something iOS 10 specific, or combination Xamarin-iOS10 is causing that?
All suggestions are welcome.