Hello,
How to open Camera in application like the default Camera application with photolibrary in botttom of it?
Hello,
How to open Camera in application like the default Camera application with photolibrary in botttom of it?
Add this code to where you want the action;
UIImagePickerController * picker = [[UIImagePickerController alloc] init];
picker.delegate = self;
picker.sourceType = UIImagePickerControllerSourceTypeCamera;
[self presentModalViewController:picker animated:YES];
and make the class UIImagePickerControllerDelegate.