Enumeration Case


The action causes the app to launch in the foreground.


UNNotificationActionOptionForeground = (1 << 2)


When the user selects an action containing this option, the system brings the app to the foreground, asking the user to unlock the device as needed. Use this option for actions that require the user to interact further with your app. Do not use this option simply to bring your app to the foreground.