Invalid Document Configuration

最近发布App的时候收到了这样的警告:
Invalid Document Configuration - Document Based Apps should support either the Document Browser (UISupportsDocumentBrowser = YES) or implement Open In Place (LSSupportsOpeningDocumentsInPlace = YES/NO). Visit https://developer.apple.com/document-based-apps/ for more information.

原因是代码中使用了UIDocumentInteractionController
解决方法:在Info.plist中添加

UISupportsDocumentBrowser
    

你可能感兴趣的:(Invalid Document Configuration)