Register your product to gain access to bonus material or receive a coupon.
This eBook includes the following formats, accessible from your Account page after purchase:
EPUB
The open industry format known for its reflowable content and usability on supported mobile devices.
PDF
The popular standard, used most often with the free Acrobat® Reader® software.
This eBook requires no passwords or activation to read. We customize your eBook by discreetly watermarking it with your name, making it uniquely yours.
Under iOS, applications can share information and data as well as move control from one application to another using a variety of system features. Each application has access to a common system pasteboard that allows copying and pasting across apps. Users can transfer documents from one app to another app that supports that format. They can request a number of system-supplied "actions" to apply to a document, such as printing, tweeting, or posting to a Facebook wall. Apps can declare custom URL schemes that can be embedded in text and web pages. This eBook by bestselling author and developer Erica Sadun introduces the ways you can integrate documents and data sharing between applications. You’ll see how to add these features into your applications and use them smartly to make your app a cooperative citizen of the iOS ecosystem.
This digital short is an adapted excerpt from The Advanced iOS 6 Developer's Cookbook (Early Edition), 4th Edition (ISBN 9780133362534). The content of this digital short may differ slightly from the content in the book. Purchasers of this digital short are invited to use coupon code sadundocdata, good for 30% off the list price of the book on InformIT exclusively.
Recipe: Working with Uniform Type Identifiers
Determining UTIs from File Extensions
Moving From UTI to Extension or MIME Type
Testing Conformance
Retrieving Conformance Lists
Recipe: Accessing the System Pasteboard
Storing Data
Storing Common Types
Retrieving Data
Passively Updating the Pasteboard
Recipe: Monitoring the Documents Folder
Enabling Document File Sharing
User Control
Xcode Access
Scanning for New Documents
Recipe: Presenting the Activity View Controller
Presenting the Activity View Controller
Activity Item Sources
Item Providers
Item Source Callbacks
Adding Services
Items and Services
Supporting HTML Email
Excluding Activities
Recipe: The Quick Look Preview Controller
Implementing QuickLook
Recipe: Adding a QuickLook Action
Recipe: Using The Document Interaction Controller
Creating Document Interaction Controller Instances
Document Interaction Controller Properties
Providing Document Quick Look Support
Checking for the Open Menu
Recipe: Declaring Document Support
Creating Custom Document Types
Implementing Document Support
Recipe: Creating URL-Based Services
Declaring the Scheme
Testing URLs
Adding the Handler Method
Summary