My application is working fine till iOS 8 But in iOS 9 Beta I am not able to share Notes text/image so can you please suggest me what thinks I need to implement for this?
Asked
Active
Viewed 1,420 times
2 Answers
6
Add **NSExtensionActivationDictionaryVersion** Attributes in your plist file.
see this image for reference.

Dipen Chudasama
- 3,063
- 21
- 42
-
For me this only works for plain text. Any idea, which settings to use for a multipart note (e.g. with tables, lists, drawings)? – mixable May 29 '18 at 19:15
2
What to use if I am using NSPredicate for NSExtensionActivationRule?
<key>NSExtensionAttributes</key>
<dict>
<key>NSExtensionActivationRule</key>
<string>
SUBQUERY(
extensionItems,
$extensionItem,
SUBQUERY
(
$extensionItem.attachments,
$attachment,
ANY $attachment.registeredTypeIdentifiers UTI-CONFORMS-TO "public.movie"
).@count == $extensionItem.attachments.@count AND $extensionItem.attachments.@count == 1
).@count > 0
OR
SUBQUERY(
extensionItems,
$extensionItem,
SUBQUERY
(
$extensionItem.attachments,
$attachment,
ANY $attachment.registeredTypeIdentifiers UTI-CONFORMS-TO "public.image"
|| ANY $attachment.registeredTypeIdentifiers UTI-CONFORMS-TO "public.png"
|| ANY $attachment.registeredTypeIdentifiers UTI-CONFORMS-TO "public.jpeg"
|| ANY $attachment.registeredTypeIdentifiers UTI-CONFORMS-TO "public.jpeg-2000"
|| ANY $attachment.registeredTypeIdentifiers UTI-CONFORMS-TO "public.tiff"
|| ANY $attachment.registeredTypeIdentifiers UTI-CONFORMS-TO "com.compuserve.gif"
|| ANY $attachment.registeredTypeIdentifiers UTI-CONFORMS-TO "com.microsoft.bmp"
).@count == $extensionItem.attachments.@count AND $extensionItem.attachments.@count < 6
).@count > 0
</string>
</dict>

Apoorv Anurag
- 51
- 1
- 4