11. Documents and Data Sharing

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 enables copying and pasting across apps. The apps can request a number of system-supplied “actions” to apply to a document, such as printing, tweeting, or posting to Facebook. Apps can declare custom URL schemes that can be embedded in text and web pages. This chapter introduces the ways you can integrate documents and data sharing between applications. You’ll see how to add these features to your applications and use them smartly to make your app a cooperative citizen of the iOS ecosystem.

Get The Core iOS Developer’s Cookbook, Fifth Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.