UNNotification

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?

Is there any way to show the button in a dialog-like way from the beginning?

Which button do you mean ?
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.
  1. Create a UNNotificationAction

  2. Create UNNotificationCategory by specifying the created UNNotificationAction.

  3. Set the created UNNotificationCategory to UNUserNotificationCenter

In the display, the UNNotificationAction section is not displayed from the beginning, and you need to press and hold to display the action. In short, is it possible to display the buttons defined in Action from the beginning like a dialog?
UNNotification
 
 
Q