2
我正在开发支持横向的iPad应用程序UIImagePickerController照片快门不打开
我想要做的是,我想打开按钮单击照片库。 这里是我的代码片段,
UIImagePickerController * picker = [[UIImagePickerController alloc] init];
picker.delegate = self;
picker.sourceType = UIImagePickerControllerSourceTypePhotoLibrary;
picker.modalPresentationStyle = UIModalPresentationCurrentContext;
当我写这篇它不会打开照片库:( 我不知道我在做adavance错误
请帮助和感谢。
添加presentViewcontroller方法 –