Upload
ketan-raval
View
515
Download
1
Tags:
Embed Size (px)
DESCRIPTION
iOS App Extension During Monthly Meeting @ Lets Nurture
Citation preview
App Extensions
Do you know what it is?
www.letsnurture.com
App Extension
• Starting in iOS 8.0 and OS X v10.10, an app extension lets you extend custom functionality and content beyond your app and make it available to users while they’re using other apps.
• You create an app extension to enable a specific task; after users get your extension, they can use it to perform that task in a variety of contexts.
www.letsnurture.com
Example• For example, if you provide an extension that
enables sharing to your social sharing website, users can use it to post a remark while they’re reading email messages or surfing the web.
• Or if you provide an extension that displays current sports scores, users can put it in Notification Center so that they can get the latest scores when they open the Today view.
• You can even create an extension that provides a custom keyboard that users can use in place of the iOS system keyboard.
www.letsnurture.com
www.letsnurture.com
Types of Extensions• Today (iOS and OS X): widgets for the Today view of Notification Center
• Share (iOS and OS X): post content to web services or share content with others
• Actions (iOS and OS X): app extensions to view or manipulate inside another app
• Photo Editing (iOS): edit a photo or video in Apple's Photos app with extensions from a third-party apps
• Finder Sync (OS X): remote file storage in the Finder with support for Finder content annotation
• Storage Provider (iOS): an interface between files inside an app and other apps on a user's device
• Custom Keyboard (iOS): system-wide alternative keyboards
www.letsnurture.com
www.letsnurture.com
www.letsnurture.com
www.letsnurture.com
www.letsnurture.com
www.letsnurture.com
www.letsnurture.com
Lifecycle of App Extension
www.letsnurture.com
How an App Extension Communicates
www.letsnurture.com
A running app extension can communicate indirectly with its containing app
www.letsnurture.com
An app extension cannot:• Access a sharedApplication object, and so cannot use any of the
methods on that object
• Use any API marked in header files with the NS_EXTENSION_UNAVAILABLE macro
• Access the camera or microphone on an iOS device
• Perform background tasks (although an app extension can initiate uploads or downloads using anNSURLSession object)
• Receive data using AirDrop
• (An app extension can send data using AirDrop in the same way an app does: by employing theUIActivityViewController class.)
www.letsnurture.com
An app extension’s container is distinct from its containing app’s container
www.letsnurture.com
App Extensions
Let’s Make one Today
www.letsnurture.com
Follow us on https://www.facebook.com/LetsNurture
https://twitter.com/letsnurture
http://www.linkedin.com/company/letsnurture
Mail Us [email protected]
www.letsnurture.com | www.letsnurture.co.uk