tags:

views:

380

answers:

1

Hello,

How to open Camera in application like the default Camera application with photolibrary in botttom of it?

A: 

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.

EEE