Cannot assign a value of type '[CFString]' to a value of type '[String]'
代码示例如下:
picker.mediaTypes = [kUTTypeImage]
修改如下:
picker.mediaTypes = [kUTTypeImage as String]
代码示例如下:
picker.mediaTypes = [kUTTypeImage]
修改如下:
picker.mediaTypes = [kUTTypeImage as String]