Changes

Jump to: navigation, search

Creating an iOS 8 Action Extension

12 bytes added, 20:39, 1 February 2016
m
Text replacement - "<google>BUY_IOS8</google>" to "<htmlet>ios9_upgrade</htmlet>"
<googlehtmlet>BUY_IOS8ios9_upgrade</googlehtmlet>
}
</pre>
<googlehtmlet>BUY_IOS8ios9_upgrade</googlehtmlet>
Assuming that the host app has data of the required type, it can be loaded into the extension via a call to the loadItemForTypeIdentifier method of the attachment provider object, once again passing through as an argument the UTI content type supported by the extension. The loading of the data from the host app is performed asynchronously so a completion handler must be specified which will be called when the data loading process is complete:
<googlehtmlet>BUY_IOS8ios9_upgrade</googlehtmlet>

Navigation menu