相关疑难解决方法(0)

PhotoPicker发现错误:错误Domain = PlugInKit Code = 13

我正在尝试在UIImageView中显示照片库中的图像

完整的错误是:

2017-06-09 21:55:59.063307 + 0200 firstapp2.0 [12873:1120778] PhotoPicker发现错误:错误Domain = PlugInKit Code = 13"查询已取消"UserInfo = {NSLocalizedDescription =查询已取消}

我的代码包含在下面:

import UIKit

class ViewController: UIViewController,UIImagePickerControllerDelegate,UINavigationControllerDelegate{

    @IBOutlet weak var pic: UIImageView!
    @IBOutlet weak var text: UILabel!

    var chosenImage : UIImage!

    override func viewDidLoad() {
        super.viewDidLoad()        
        pic.isUserInteractionEnabled = true;
    }

    override func didReceiveMemoryWarning() {
        super.didReceiveMemoryWarning()
        // Dispose of any resources that can be recreated.
    }

    func imagePickerController(_ picker: UIImagePickerController, didFinishPickingMediaWithInfo info: [AnyHashable: Any]) {
        var chosenImage = info[UIImagePickerControllerEditedImage]
        self.pic!.image = chosenImage as! UIImage
        picker.dismiss(animated: …
Run Code Online (Sandbox Code Playgroud)

uiimage swift ios11

115
推荐指数
11
解决办法
7万
查看次数

MC系统组容器和MC从键盘外观上的公共有效用户设置错误中读取

刚升级到XCode 8和我的设备到iOS 10,然后我第一次输入任何textField时收到此消息.

[MC] System group container for systemgroup.com.apple.configurationprofiles path is /private/var/containers/Shared/SystemGroup/systemgroup.com.apple.configurationprofiles

[MC] Reading from public effective user settings errors.
Run Code Online (Sandbox Code Playgroud)

我的应用程序仍然可以运行,没有任何问题,但我想在提交之前摆脱这个警告.

我的应用程序是用Objective-C编写的,如果这有所不同的话.

我知道它来自键盘,因为我已经注释掉了进入textField时所采取的所有操作(实际上它是任何textField),并且仍然会出现错误.

有修复吗?如果没有,是否可以提交此警告?

xcode objective-c ios

8
推荐指数
1
解决办法
8555
查看次数

标签 统计

ios ×1

ios11 ×1

objective-c ×1

swift ×1

uiimage ×1

xcode ×1