UIActivitySharing you should pay special attention to:
UIActivityworks by creating a
UIActivityViewControllerand passing it the desired items (URLs, text, a picture) on
excludedActivityTypes, if any.
application:openURL:options:(or its deprecated version
UIApplicationDelegate application:openURL:sourceApplication:annotation:) in the app delegate.
Info.plistfile and search for:
UTImportedTypeDeclarationsif the app declares exported/imported custom document types.
CFBundleDocumentTypesto see if the app specifies any document types that it can open.
UTExportedTypeDeclarations: Use them to define your own UTIs that your app wants to teach the system it is installed on. An UTI describes a piece of data (not necessarily data located inside a file!) and requires at least an identifier (
com.example.MyCoolDataType). Additionally it may have a name (
My Cool Data Type), one or more file name extensions (
.myCoolDataType), one or more MIME types (
x-application/my-cool-data-type), one or more pasteboard types (used when transferring data of that kind using copy&paste), and one or more legacy OS type. Usually you also want UTIs to conform to existing UTIs (E.g. when you say your UTI conforms to
public.data, any process that can deal with generic data can also deal with your UTI).
UTImportedTypeDeclarations: You use
UTImportedTypeDeclarationsdo teach the system about UTIs that you want to be known in the system but that are not your UTIs.
CFBundleDocumentTypes: You use
CFBundleDocumentTypesto tell the system which Document types your app is able to open. Unless you also list your UTIs here, these UTIs are not associated with your app in Finder and your app won't appear in the
Open With >menu. The only thing you always must set for a document type is the role. The role can be "Viewer" (you can display that file type but you cannot edit it), "Editor" (you can display and edit that file type), "None" (it's not specified what you can do with that file).
application:openURL:options:and any other methods that were identified in a previous static analysis.