为SDK设置log等级,设置RCIMClient的logLevel为您期望的,可以在SDKinitWithAppkey之后设置,比如希望只收集错误log,那么可以设置为RC_Log_Level_Error,如果想一般信息、警告信息,错误信息都收集,那么可以设置为RC_Log_Level_Info。 调用RCIMClient的setRCLogInfoDelegate设置代理,并实现: (void)didOccurLog:(NSString)logInfo; 代理方法,当SDK有log产生的时候,App就可以通过该代理方法获取到SDK内部的log。 注:需要额外考虑的是将代理设置给什么类,如果...

实现方式请参照SealTalk中的ServiceExtension。 具体步骤如下: 给工程添加一个target:NotificationServiceExtension。 主工程开启PushNotifications和BackgroundModes功能。 ServiceExtensiontarget开启PushNotifications功能。 NotificationService.m中实现(void)didReceiveNotificationRequest:(UNNotificationRequest)requestwithContentHandler:(void(^)(UN...

  Y2VPx5ankaMX   2023年12月23日   13   0   0 iosideDataideDataios
关注 更多

空空如也 ~ ~

粉丝 更多

空空如也 ~ ~