[MonoTouch] Camera Preview

QMIMike mcasey at qmiusa.com
Mon Dec 19 13:48:26 EST 2011


I have a UIImageController called uiPicPreview to my UIViewController.

I then added the following code, but I cannot get the camera to preview;

public override void ViewDidLoad ()
		{
			base.ViewDidLoad ();
			UIImagePickerController Picker = new UIImagePickerController();
			Picker.SourceType = UIImagePickerControllerSourceType.Camera;
			Picker.Delegate = uiPicPreview;
			
			//any additional setup after loading the view, typically from a nib.
		}

I also don't see where I can just add a UIImagePickerController directly to
my Storyboard?

--
View this message in context: http://monotouch.2284126.n4.nabble.com/Camera-Preview-tp4215199p4215199.html
Sent from the MonoTouch mailing list archive at Nabble.com.


More information about the MonoTouch mailing list