在我的相机应用程序中,当我单击图像时,它会向用户询问标题和描述,然后保存它。现在它正在保存图像,但不询问标题和描述。我是 iOS 的新手。所以,可能是这样是一个愚蠢的问题。请帮助我得到这个。对于相机点击我正在使用这种方法:-
- (void)viewWillAppear:(BOOL)animated
{
[super viewWillAppear:animated];
BOOL camera = [UIImagePickerController isSourceTypeAvailable:UIImagePickerControllerSourceTypeCamera];
if(camera)
{
UIImagePickerController *picker = [[UIImagePickerController alloc] init];
[[picker navigationBar]setBarStyle:UIBarStyleDefault];
picker.sourceType = UIImagePickerControllerSourceTypeCamera;
[picker setDelegate:self];
[self presentViewController:picker animated:YES completion:NULL];
[picker release];
}