Recipe: Activity View Controller

Introduced in iOS 6, the activity view controller integrates data activities into the interface shown in Figure 11-4. With minimal development cost on your part, this controller enables your users to copy items to the pasteboard, post to social media, share via e-mail and texting, and more. Built-in activities include Facebook, Twitter, Weibo, SMS, mail, printing, copying to pasteboard, assigning data to a contact, and saving to the Camera Roll. iOS 7 adds a new set of activities, including adding to the Reading List, Flickr, Vimeo, Weibo, and AirDrop. Apps can define their own custom services as well, which you’ll read about later in this section. The comprehensive list of current activity types includes the ...

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.