美文网首页
关于XCode8 的问题One of the two will

关于XCode8 的问题One of the two will

作者: 化二缺 | 来源:发表于2016-10-26 12:26 被阅读235次

One of the two will be used. Which one is undefined. 这个问题在用swift 写头像的时候 出现,在点击“从相册选取”后出现的。

解决办法

1.需要加一个NSPhotoLibraryUsageDescription plist值

2.需要去掉避免过多输出的参数0S_ACTIVITY_MODE

相关文章

网友评论

      本文标题:关于XCode8 的问题One of the two will

      本文链接:https://www.haomeiwen.com/subject/ekvduttx.html