cordova - App extension on iOS8 limits -
cordova - App extension on iOS8 limits -
recently, i've been making simple research ios 8 share extension understand how scheme works , find out restrictions of features. realize nowadays documentation https://developer.apple.com/library/ios/documentation/general/conceptual/extensibilitypg/index.html preliminary document. i've got few questions general limits / possibilities of ios8 app extansions:
is apple specifies size limit shared data? can 100% sure app can launch specified app extension? will phonegap back upwards app extensions?
for sec question can't 100% sure app can launch on specified app extension totally controlled user can command on documents want show app extension follow declaring supported info types share or action extension
to create customize document type write predicates under key nsextensionactivationrule example:for pdf,image , excel documents made next predicates maximum amount of document 1.
<key>nsextension</key> <dict> <key>nsextensionattributes</key> <dict> <key>nsextensionactivationrule</key> <string>subquery ( extensionitems, $extensionitem, subquery ( $extensionitem.attachments, $attachment, ( $attachment.registeredtypeidentifiers uti-conforms-to "com.adobe.pdf" || $attachment.registeredtypeidentifiers uti-conforms-to "public.image" || $attachment.registeredtypeidentifiers uti-conforms-to "public.plain-text" || $attachment.registeredtypeidentifiers uti-conforms-to "public.png" || $attachment.registeredtypeidentifiers uti-conforms-to "public.jpeg" || $attachment.registeredtypeidentifiers uti-conforms-to "public.jpeg-2000" || $attachment.registeredtypeidentifiers uti-conforms-to "com.microsoft.excel.xls" || $attachment.registeredtypeidentifiers uti-conforms-to "org.openxmlformats.spreadsheetml.sheet" ) ).@count == $extensionitem.attachments.@count ).@count == 1</string>
cordova ios8 xcode6 ios8-extension
Comments
Post a Comment