Welcome toVigges Developer Community-Open, Learning,Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
684 views
in Technique[技术] by (71.8m points)

iOS 推送:系统推送的消息,没有点击,然后下拉查看后消息就没有了,怎么解决?

iOS 推送:

能够收到发送的远程推送消息

注册推送的方法,自然也没问题

func application(_ application: UIApplication, didRegisterForRemoteNotificationsWithDeviceToken deviceToken: Data) {
         GeTuiSdk.registerDeviceTokenData(deviceToken)
         print(deviceToken)
         print(deviceToken.map { String(format: "%02.2hhx", arguments: [$0]) }.joined() , "推送 deviceToken" )
    }
系统推送的消息,( 在页面顶部,看见了通知的部件 )
没有点击,然后下拉查看后, ( 下拉出现锁屏页 )
消息就没有了 ( 锁屏页的通知部件 widget 消失了 )

怎么解决?

我用的是个推


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
等待大神解答

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to Vigges Developer Community for programmer and developer-Open, Learning and Share
...