I have UNNotificationServiceExtension implemented for my iOS app running iOS 10. Everything works fine. I want to stop APNS push notification from happening on client side on certain notifications, I tried modifying
self.bestAttemptContent = nil;
but it didn't work. Is it possible? How?