title: Programmatically delete Remote Notifications from Notification Centre
body: <p>How can we pragmatically remove any pending remote notifications sent for my app from notification centre. I want to clear them up on app launch.</p>
  
  <p>I have tried with <code>[[UIApplication sharedApplication] cancelAllLocalNotifications];</code> API but its not helping.</p>
  
  <p>PS: This question is specific to iOS 10 and old threads are not duplicates for this one.</p>