xmartlabs/XLForm

App Rejected Due to Missing NSPhotoLibraryUsageDescription

開放

#891 建立於 2016年10月26日

 (1 則留言) (0 個反應) (0 位負責人)Objective-C (969 個分叉)batch import
enhancementhelp wanted

倉庫指標

星標
 (5,786 顆星)
PR 合併指標
 (PR 指標待抓取)

描述

I had an app using this library get rejected for a missing NSPhotoLibraryUsageDescription when submitting with Xcode 8. I think it's due to the use of UIImagePickerController in XLFormImageCell.

My app doesn't use this cell or access the user's photo library in any way, so I'd prefer to not have to set a fake usage description. Is there any way to conditionally not compile this class, or create a CocoaPod subspec that doesn't include the XLFormImageCell?

Thanks

貢獻者指南