设置远程推送内容无效
EMPushOptions *options = [[EMClient sharedClient] pushOptions];
options.displayStyle = EMPushDisplayStyleMessageSummary;
options.noDisturbStatus = EMPushNoDisturbStatusClose;//关闭免打扰
dispatch_async(dispatch_get_global_queue(DISPATCH_QUEUE_PRIORITY_DEFAULT, 0), ^{
EMError *error = nil;
error = [[EMClient sharedClient] updatePushOptionsToServer];
dispatch_async(dispatch_get_main_queue(), ^{
if(error){
NSLog(@"推送显示修改失败");
}
});
});
设置displayStyle 之后没有实现效果
options.displayStyle = EMPushDisplayStyleMessageSummary;
options.noDisturbStatus = EMPushNoDisturbStatusClose;//关闭免打扰
dispatch_async(dispatch_get_global_queue(DISPATCH_QUEUE_PRIORITY_DEFAULT, 0), ^{
EMError *error = nil;
error = [[EMClient sharedClient] updatePushOptionsToServer];
dispatch_async(dispatch_get_main_queue(), ^{
if(error){
NSLog(@"推送显示修改失败");
}
});
});
设置displayStyle 之后没有实现效果
没有找到相关结果
已邀请:
0 个回复