How to use UNNotificationPresentationOptions
<p>In iOS 10 , there is an option for presenting the notification when the app is in foreground using <strong>UNNotificationPresentationOptions</strong>,</p>

<p>but i couldn't find any sample on how to use this, please suggest some idea about how to implement this feature</p>