1
我使用UIImagePickerController
來獲取我的應用程序中所需的圖像。如何重新加載UIImagePickerController?
// ...
picker = [[UIImagePickerController alloc] init];
picker.sourceType = UIImagePickerControllerSourceTypePhotoLibrary;
// ...
但是我發現在我的過程中存在問題與UIImagePickerController
獲得的圖像。 當UIImagePickerController
對象的視圖在設備屏幕上時,用戶可以讓我的應用程序轉到背景並與其他應用程序拍攝照片。用戶支持我的應用程序,然後,我的應用程序仍顯示UIImagePickerController
對象的視圖。但照片庫中的內容不會更改,除非用戶重新打開UIImagePickerController
。 我需要重新加載UIImagePickerController
對象的視圖。怎麼做? 這個問題是關於重新加載UIImagePickerController
,而不是應用程序的前臺通知。
感謝您的關注。