Explorar el Código

restrict share extension to image and text sharing for now

cyberta hace 5 años
padre
commit
ea4fb799cd
Se han modificado 1 ficheros con 10 adiciones y 1 borrados
  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>