在我的相機應用程序中,我希望當我點擊圖像時,它會向用戶索要標題和描述,然後保存它。現在,它保存圖像,但不要求標題和描述。是新來的iOS.so,可能這是一個愚蠢question.please幫助我獲得我使用這種方法this.for相機點擊: -相機點擊圖像的標題和說明
- (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];
}
請幫助我的人......我 – Shivaay