swift2.0 Cannot assign a value of type '[CFString]' to a value of type '[String]'

Cannot assign a value of type '[CFString]' to a value of type '[String]'

 

代码示例如下:

 picker.mediaTypes = [kUTTypeImage]

修改如下:

picker.mediaTypes = [kUTTypeImage as String]

 

posted @ 2015-09-16 13:47  Qingyun_Qearl  阅读(621)  评论(0)    收藏  举报