I'm developing an app specifically for the iPad using Xamarin Studio. One feature is to take a picture using the camera so naturally I'm using Xamarin.Mobile. Currently when I invoke the TakePhotoAsync method on the MediaPicker the camera size comes up in an iPhone size window in the middle of my current view.
Is there a way to make the MediaPicker camera be full screen? Am I missing a setting or a build option or something?
Here is a screen shot
In the current (0.7) version, you can call GetTakePhotoUI
to return a UIViewController
to handle the display yourself.
It is very dissapointing, but there currently is no way (I know of) to do that. There is another way by using the source code from @miqueldeicaza's Tweetstation app, that is up on Github (Camera Helper). The Xamarin Documentation describes how to use it.
TweetStation.Camera.TakePicture(this, (photoObj) => ...
You pass in a reference to the ViewController you want the Camera in and it will fill up the entire View.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With