Do remote push notifications require to add UIBackgroundModes in Info.plist?

后端 未结 5 2128
自闭症患者
自闭症患者 2021-01-30 19:25

I have integrated remote push notifications, but I am getting this warning:

didReceiveRemoteNotification:fetchCompletionHandler:], but you st

5条回答
  •  轮回少年
    2021-01-30 19:40

    Select your .xcodeproj file from Project navigator then go to Signing & Capabilies and then from library (command + shift + l or Click (+ Capability)) search for Background Modes after that, drag and drop it to Signing & Capabilities then check Remote notifications and Background processing. Also (important) add Push notifications by clicking + Capability

提交回复
热议问题