3
我的应用程序工作正常,直到iOS 8但在iOS 9测试版中,我无法共享Notes文本/图像,因此您能否建议我认为我需要为此执行什么?如何在iOS 9中使用共享扩展共享笔记数据?
我的应用程序工作正常,直到iOS 8但在iOS 9测试版中,我无法共享Notes文本/图像,因此您能否建议我认为我需要为此执行什么?如何在iOS 9中使用共享扩展共享笔记数据?
如果我使用NSPredicate的NSExtensionActivationRule使用?
<key>NSExtensionAttributes</key>
<dict>
<key>NSExtensionActivationRule</key>
<string>
SUBQUERY(
extensionItems,
$extensionItem,
SUBQUERY
(
$extensionItem.attachments,
$attachment,
ANY $attachment.registeredTypeIdentifiers UTI-CONFORMS-TO "public.movie"
)[email protected] == [email protected] AND [email protected] == 1
)[email protected] > 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"
)[email protected] == [email protected] AND [email protected] < 6
)[email protected] > 0
</string>
</dict>