Use of undeclared type UNAuthorizationOptions

前端 未结 2 1480
遥遥无期
遥遥无期 2021-02-18 21:12

I am trying to use Firebase to handle push notifications. I have installed Firebase pod (\'Firebase/Core\' and \'FirebaseMessaging\' pods).

And after I impo

2条回答
  •  被撕碎了的回忆
    2021-02-18 21:30

    you need to import UserNotifications before calling those framework. And what Nirav D said is true, it is a new framework in iOS 10, should also remember to select the correct deployment target.

提交回复
热议问题