【发布时间】:2016-05-30 09:20:17
【问题描述】:
尝试在 Swift 中创建图像选择器时,用户按下按钮并选择图像,我遇到了这个错误:
'NSUnknownKeyException', reason: '[<MemeGenerator.ViewController 0x7ff3805a6f10> setValue:forUndefinedKey:]: this class is not key value coding-compliant for the key selectedImage.'
我的视图控制器类是here
知道有什么问题吗?如有需要,我可以提供更多文件。
【问题讨论】:
标签: ios swift exception uiimagepickercontroller