title: App runs fine in iOS 8, but not in iOS 7
body: <p>So, in my app, I want to share something using the <code>UIActivityViewController</code>.</p>
  
  <p>To make sure that the sharing activity was successful, I have this code:</p>
  
  <pre><code>UIActivityViewController *controller =  [[UIActivityViewController alloc]
                                                       initWithActivityItems:@[text, shortURL, image]
                                                       applicationActivities:nil];
  [controller setCompletionWithItemsHandler:^(NSString *activityType, BOOL completed, NSArray *returnedItems, NSError *activityError) {
            if (! completed){
              // Here I do some stuff irrelevant to the question
          }
      }];
  </code></pre>
  
  <p>Since I have copied (and modified) this code, I don't want to claim that I completely understand what is happening here.</p>
  
  <p>What I <em>do</em> know, and this is my question, is that the code above runs fine on iOS 8 but not on iOS 7, hardware or simulator.</p>
  
  <p>I dearly hope that somebody can explain to me what is going on here.</p>