我是iPhone SDK的新手,当我设置图像picker.tag = value(100)时会产生错误,所以有人可以帮助我解决此问题
` imagepicker=[[UIImagePickerController alloc]init];
imagepicker.delegate=self;
imagepicker.sourceType=UIImagePickerControllerSourceTypePhotoLibrary;
[self presentModalViewController:imagepicker animated:YES];`
最佳答案
imagepicker=[[UIImagePickerController alloc]init];
imagepicker.sourceType=UIImagePickerControllerSourceTypePhotoLibrary;
[self presentModalViewController:imagepicker animated:YES];
imagepicker.view.tag = 100;
关于iphone - 如何在imagepicker中设置imagepicker.tag = value,我们在Stack Overflow上找到一个类似的问题:https://stackoverflow.com/questions/11012824/