1
我有以下規則設置iOS的11 PDF份額擴展
<dict>
<key>NSExtensionActivationRule</key>
<string>
SUBQUERY (
extensionItems,
$extensionItem,
SUBQUERY (
$extensionItem.attachments,
$attachment,
ANY $attachment.registeredTypeIdentifiers UTI-CONFORMS-TO "com.adobe.pdf" OR
ANY $attachment.registeredTypeIdentifiers UTI-CONFORMS-TO "public.file-url" OR
ANY $attachment.registeredTypeIdentifiers UTI-CONFORMS-TO "public.plain-text" OR
ANY $attachment.registeredTypeIdentifiers UTI-CONFORMS-TO "public.text" OR
ANY $attachment.registeredTypeIdentifiers UTI-CONFORMS-TO "pdf" OR
ANY $attachment.registeredTypeIdentifiers UTI-CONFORMS-TO "public.pdf" OR
ANY $attachment.registeredTypeIdentifiers UTI-CONFORMS-TO "public.url"
)[email protected] == [email protected]
)[email protected] == 1
</string>
<key>NSExtensionJavaScriptPreprocessingFile</key>
<string>JavascriptPreprocessor</string>
</dict>
,當我轉到Safari爲PDF,在iOS的10我看到在iOS上11我的份額擴展我看不出來。有沒有額外的uti-conforms - 我需要添加到它能夠在任何人都知道的iOS 11上工作?