pragma clang diagnostic push
pragma clang diagnostic ignored "-Wdeprecated-declarations"
BOOL isAuthorized = ([[UIApplication sharedApplication] currentUserNotificationSettings].types != UIRemoteNotificationTypeNone);
BOOL isAuthorized = ([[UIApplication sharedApplication] currentUserNotificationSettings].types != UIRemoteNotificationTypeNone);
本文标题:消除部分代码的警告
本文链接:https://www.haomeiwen.com/subject/zsvhuftx.html
网友评论