调用系统相册、相机的时候会打印如下信息:
objc[2766]: Class PLBuildVersion is implemented in both /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/System/Library/PrivateFrameworks/AssetsLibraryServices.framework/AssetsLibraryServices (0x11b337998) and /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/System/Library/PrivateFrameworks/PhotoLibraryServices.framework/PhotoLibraryServices (0x11b159880). One of the two will be used. Which one is undefined.
(偶尔会崩溃 )暂时不知道具体解决方法,网上找的解决方法总结一下,也都不起作用:
1.添加资料库访问权限(没用)
2.删除其中一个框架 (没用)
而且在首次调用相机的时候会有延迟;在iphone7 or 7plus(10.2)模拟器 进行测试内存暴涨(从70M左右涨到270M),其他模拟器都未发现有内存暴涨的问题!
有大神知道的可以留言回复下,谢谢哈!!