title: Whatsapp integration and openURL issue in iOS 10
body: <p>I have integrated whastapp in my iOS app. When I tested it in my iOS 10 device. It crashes with an issue.</p>
  
  <p>Snapshotting a view that has not been rendered results in an empty snapshot. Ensure your view has been rendered at least once before snapshotting or snapshot after screen updates.</p>
  
  <pre><code>NSURL *whatsappURL = [NSURL URLWithString:[NSString stringWithFormat: @"whatsapp://send?abid=%@&amp;text=WelcomeToChatBought",[abidArray objectAtIndex:buttonclicked.tag-1000]]];
          if ([[UIApplication sharedApplication] canOpenURL: whatsappURL])
          {
              [[UIApplication sharedApplication] openURL: whatsappURL];
          }
  </code></pre>
  
  <p>What might be the issue. Any help would be appreciated.</p>