ios 11からのアプリ間ファイル共有
TRANSCRIPT
iOS 112017/06/27 GEEK GARAGE iOS #geek_garage_ios
(@ktanaka117)
• : (@ktanaka117)
• :
• : iOS
• : AKIBA.swift
Developers.IOhttp://dev.classmethod.jp/author/tanaka-kenji/
• Building Great Document-based Apps in iOS 11
• FileProvider, FileProviderUI (UIDocumentBrowserViewController)
• UIDocumentBrowserViewController
UIDocumentBrowserViewControllerDEMO (beta-2 )
• AppExtensions, AppGroups, etc…
•
•
UI
• FileProvider(UI)
• UI
•
• Extension
• Dropbox SDK ⚡
• , , ,
• A
B
( ( Photos ))
• A B
App
DEMO
Info.plist
• UISupportsDocumentBrowser
• Document Types
• Exported UTIs
• Imported UTIs
UISupportsDocumentBrowser
• in Info.plist
• Documents
Key
Document Types:
• in Target > Info > Document Types (Info.plist)
• Name:
• Types: UTI(Uniform Type Identifiers)
• System-Declared Uniform Type Identifiershttps://developer.apple.com/library/content/documentation/Miscellaneous/Reference/UTIRef/Articles/System-DeclaredUniformTypeIdentifiers.html
…
• UTI
Document Types:
• Additional document type properties
• CFBundleTypeRole:
Editor, Viewer, Shell, None
• LSHandlerRank:
Owner, Alternate, None, Default
Exported UTIs: export UTI
• in Target > Info > Exported UTIs (Info.plist)
• export
• Cocoa Keys: https://developer.apple.com/library/content/documentation/General/Reference/InfoPlistKeyReference/Articles/CocoaKeys.html#//apple_ref/doc/uid/TP40009251-SW9
Imported UTIs: import UTI
• in Target > Info > Imported UTIs (Info.plist)
• import
• Cocoa Keys: https://developer.apple.com/library/content/documentation/General/Reference/InfoPlistKeyReference/Articles/CocoaKeys.html#//apple_ref/doc/uid/TP40009251-SW9
• Info.plist
• iOS 11 beta
•
• Building Great Document-based Apps in iOS 11 WWDC 2017 | Session 229
• File Provider EnhancementsWWDC 2017 | Session 243
• File Provider EnhancementsWWDC 2015 | Session 234
• iOS SDK « TORQUES LABShttp://labs.torques.jp/2012/02/03/2487/
• iOS - Qiitahttp://qiita.com/sandinist/items/d141fa5a4f2fbff1e4ba
Thank you!