-1
我模態推到了一個新的視圖控制器使用:現在UIImagePicker
[self presentViewController:picker];
,然後從我做了新的視圖控制器內;
UIImagePickerController *picker = [[UIImagePickerController alloc] init];
picker.sourceType = UIImagePickerControllerSourceTypeCamera;
picker.delegate = self;
[self presentViewController:picker animated:YES completion:nil];
但是相機甚至不會顯示,爲什麼?