title: NSExtensionActivationRule for iOS app extension that can share everything
body: <p>I implemented a Share-Extension that works find with all sorts of things that you want to share. So I want my user to be able to share URLs, Text, Images, Videos, Any other files and even combinations of that (like from the notes app with text and a scribble).</p>
  
  <p>Everything worked fine cause I didn't know about the <code>NSExtensionActivationRule</code> and by default it was set to <code>TRUEPREDICATE</code>. But as the compiler warns me, that that is not allowed, I need to change that.</p>
  
  <p>I tried setting it to all kinds of combinations of values that might go there (<a href="https://developer.apple.com/library/ios/documentation/General/Reference/InfoPlistKeyReference/Articles/SystemExtensionKeys.html#//apple_ref/doc/uid/TP40014212-SW10" rel="nofollow">https://developer.apple.com/library/ios/documentation/General/Reference/InfoPlistKeyReference/Articles/SystemExtensionKeys.html#//apple_ref/doc/uid/TP40014212-SW10</a>), but I just can't figure out what I need to put there, to just accept everything. Like f.e. the Slack extension...
  Do I need a subquery? If so, does anybody have the "Take everything"-Subquery handy?</p>
  
  <p>The <code>NSExtensionActivationUsesStrictMatching</code> set to <code>2</code> also doesn't help.</p>