Sfoglia il codice sorgente

restrict share extension to image and text sharing for now

cyberta 5 anni fa
parent
commit
ea4fb799cd
1 ha cambiato i file con 10 aggiunte e 1 eliminazioni
  1. 10 1
      DcShare/Info.plist

+ 10 - 1
DcShare/Info.plist

@@ -25,7 +25,16 @@
 		<key>NSExtensionAttributes</key>
 		<dict>
 			<key>NSExtensionActivationRule</key>
-			<string>TRUEPREDICATE</string>
+			<dict>
+				<key>NSExtensionActivationDictionaryVersion</key>
+				<integer>2</integer>
+				<key>NSExtensionActivationSupportsImageWithMaxCount</key>
+				<integer>10</integer>
+				<key>NSExtensionActivationSupportsText</key>
+				<true/>
+				<key>NSExtensionActivationSupportsWebURLWithMaxCount</key>
+				<string>10</string>
+			</dict>
 		</dict>
 		<key>NSExtensionMainStoryboard</key>
 		<string>MainInterface</string>