gpt4 book ai didi

ios - 可操作通知 - 第三个操作/按钮不起作用

转载 作者:行者123 更新时间:2023-11-29 12:25:59 24 4
gpt4 key购买 nike

有没有办法在交互式通知中添加第三个按钮,

我关注了这个:https://nrj.io/simple-interactive-notifications-in-ios-8并且能够制作 2 个按钮来接受和拒绝以及当我添加时对于第三个按钮类似的方式,它不会不显示。

最佳答案

From Apple's documentation:

In iOS 8 and later, user notifications can have additional custom actions. Two actions can be displayed on the lock screen, in a banner, and in Notification Center. In modal alerts, notifications can display up to four actions when the user taps the Options button.

在锁屏和通知中心,只会显示前两个操作。如果您包括其他操作(最多 4 个),它们将显示在模态警报中。

注意:这不适用于 Apple 最近为 WatchKit 引入的可操作通知,它允许最多 4 个始终显示在 Apple Watch 上。

关于ios - 可操作通知 - 第三个操作/按钮不起作用,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/29133383/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com