![](/img/trans.png)
[英]How can I intercept an iOS Push Notification before it's displayed on the lock screen notification center?
[英]How can we intercept remote push notification and change its content before it gets displayed in the notification center?
我想在通知顯示在通知抽屜中之前更改通知的內容。 有沒有辦法做到這一點?
這不是UNNotificationServiceExtension所做的嗎?
就在它說的描述中
UNNotificationServiceExtension
object 提供通知服務應用程序擴展的入口點。 這個 object 允許您在系統將其發送給用戶之前自定義遠程通知的內容。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.