我在我的应用程序中实现了可操作的推送通知,它工作正常。我有两个动作“是”和“否”。我想以红色显示“NO”按钮字体。谁能让我知道如何自定义这些按钮
let yesAction = UNNotificationAction(identifier: "Yes", title: "YES", options: [.foreground])
let noAction = UNNotificationAction(identifier: "no", title: "NO")
我在我的应用程序中实现了可操作的推送通知,它工作正常。我有两个动作“是”和“否”。我想以红色显示“NO”按钮字体。谁能让我知道如何自定义这些按钮
let yesAction = UNNotificationAction(identifier: "Yes", title: "YES", options: [.foreground])
let noAction = UNNotificationAction(identifier: "no", title: "NO")