Created
April 17, 2024 16:49
-
-
Save badrinathvm/88270c59b1fab6c47447b1b346bf813d to your computer and use it in GitHub Desktop.
Info.plist for the Share Extension iOS
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>NSExtension</key> | |
<dict> | |
<key>NSExtensionAttributes</key> | |
<dict> | |
<key>NSExtensionActivationRule</key> | |
<string> | |
SUBQUERY ( | |
extensionItems, | |
$extensionItem, | |
SUBQUERY ( | |
$extensionItem.attachments, | |
$attachment, | |
ANY $attachment.registeredTypeIdentifiers UTI-CONFORMS-TO "public.image" | |
).@count == $extensionItem.attachments.@count | |
).@count == 1 | |
</string> | |
</dict> | |
<key>NSExtensionPointIdentifier</key> | |
<string>com.apple.share-services</string> | |
<key>NSExtensionPrincipalClass</key> | |
<string>$(PRODUCT_MODULE_NAME).ShareViewController</string> | |
</dict> | |
</dict> | |
</plist> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment