我试图在我的游戏中实现 Pushwoosh 它非常简单的指南,但我在这里遇到了这个问题:
最佳答案
您的 AppDelegate 实现应如下所示:
@implementation AppDelegate <PushNotificationDelegate>
在第 20 行。
这意味着您的 AppDelegate 符合
PushNotificationDelegate
协议(protocol)。
关于ios - 从不兼容的类型 'NSObject<PushNotificationDelegate> *' 分配给 'AppDelegate *const __strong',我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/51737035/