빌드하려고하는 응용 프로그램에서 UIImageController을 사용하려고하지만 약간의 문제가 있습니다.presentModalViewController : animated not found
(IBAction) uploadBtn {
ipc = [[UIImagePickerController alloc] init];
ipc.delegate = self;
ipc.sourceType = UIImagePickerControllerSourceTypePhotoLibrary;
[self presentModalViewController:ipc animated:YES];'
그 말을 나에게 마지막 줄에 경고를주고 : 나는 여기에 코드의 ... 의 ViewController 클래스에서이 일을하고 있지 않다
Method'- presentModalViewController:animated' not found
나는 확신 그 경우 I ViewController 클래스를 사용하여 작동하지만, UIView 클래스에서 수행 할 수있는 작업은 무엇입니까?
는 다시 응용 프로그램 빌드,하지만 난 버튼을 클릭 할 때이 사전에
감사 충돌!
를 잘'self' 여기에 무엇입니까? –