Push a viewController from the UIImagePickerController camera view
I'm developing a messaging app (something like WhatsApp), users can send text and image messages to one another. when user wants to send an image, he can choose one from the camera roll or he can take one with the camera. This is how I present the UIImagePickerController for both cases: - (void)handleTakePhoto { UIImagePickerController *ipc = [[UIImagePickerController alloc] init]; ipc.delegate = self; ipc.sourceType = UIImagePickerControllerSourceTypeCamera; [self presentModalViewController:ipc animated:YES]; [ipc release]; } - (void)handleChooseFromLibrary { UIImagePickerController *ipc = [