iOS "_OBJC_CLASS_$_JPUSHService", referenced from: 解决办法

项目中用了极光推送,想在模拟器看看IPhoneX 的适配情况报错。

iOS "OBJC_CLASS$_JPUSHService", referenced from:

解决办法:


iOS
20170307162627099.jpeg

顺便提供一个判断IphoneX 的宏

#define KIsiPhoneX ([UIScreen instancesRespondToSelector:@selector(currentMode)] ? CGSizeEqualToSize(CGSizeMake(1125, 2436), [[UIScreen mainScreen] currentMode].size) : NO)

如有错请指正,希望对你有所帮助

你可能感兴趣的:(iOS "_OBJC_CLASS_$_JPUSHService", referenced from: 解决办法)