Skip to main content
AI Assist is now on Stack Overflow. Start a chat to get instant answers from across the network. Sign up to save and share your chats.

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

2
  • You need to write completionHandler(some UNNotificationPresentationOptionsValueAccordingToTheDoc) at the end of userNotificationCenter:willPresentNotification: withCompletionHandler:. Calling this block will allow you to decide to show it or not. Commented Apr 18, 2018 at 21:08
  • @Larme Thanks, this was it. If you post it as an answer, I will accept it. Commented Apr 20, 2018 at 8:07