我試圖駁回其上呈現如下辭退一個imagepickercontroller
[self.view.window.rootViewController presentViewController:imagePicker animated:YES completion:nil];
一個imagepickercontroller(相冊或攝像頭)通過調用:
[self dismissViewControllerAnimated:YES completion:NULL];
我無法關閉imagepickercontroller。
任何機構都可以幫助我嗎?
需要調用[** ** imagePicker dismissViewControllerAnimated:YES完成:無];在imagePickerController:didFinishPickingMediaWithInfo:或imagePickerControllerDidCancel :. – Jonathan
這將是很好,如果你可以發佈這個作爲答案 –