I'm currently working on an iPhone app with Xcode12 and Swift for notifications with an 8am survey, but I need the notifications to have an action. Is there any way to show the button in a dialog-like way from the beginning?
UNNotification
Which button do you mean ?Is there any way to show the button in a dialog-like way from the beginning?
from the beginning of what ?
You are right, sorry about that.
The following process is now in place.
As you know, User Notifications Framework was added in iOS10, and the framework is defined in the following three sections.
The following process is now in place.
As you know, User Notifications Framework was added in iOS10, and the framework is defined in the following three sections.
Create a UNNotificationAction
Create UNNotificationCategory by specifying the created UNNotificationAction.
Set the created UNNotificationCategory to UNUserNotificationCenter