Uiimagepickercontroller UIImagePickerViewController上的背景工件在哪里?
我的UIImagePickerController中的单元格上显示了黑色背景 这是我的演讲方式。这里没有火箭科学:Uiimagepickercontroller UIImagePickerViewController上的背景工件在哪里?,uiimagepickercontroller,Uiimagepickercontroller,我的UIImagePickerController中的单元格上显示了黑色背景 这是我的演讲方式。这里没有火箭科学: let imagePicker = UIImagePickerController() imagePicker.allowsEditing = false imagePicker.delegate = self imagePicker.modalPresentationStyle = .Popover imagePicker.source
let imagePicker = UIImagePickerController()
imagePicker.allowsEditing = false
imagePicker.delegate = self
imagePicker.modalPresentationStyle = .Popover
imagePicker.sourceType = UIImagePickerControllerSourceType.PhotoLibrary
imagePicker.popoverPresentationController?.sourceView = self.view;
presentViewController(imagePicker, animated: true, completion: nil)
显然,我只想要白色背景….?作为将来的参考,此应用程序使用的是外观管理器,并已将所有UITableViewCells全局设置为黑色,如下所示:
UITableView.appearance().backgroundColor=.blackColor()