修复消息页面部分bug

This commit is contained in:
wbzhan
2019-05-27 16:41:39 +08:00
parent 25c051d5f1
commit 8e027e82c9
16 changed files with 355 additions and 546 deletions
+6 -4
View File
@@ -124,6 +124,9 @@
+(AppDelegate *)sharedDefault{
dispatch_async(dispatch_get_main_queue(), ^{
});
return (AppDelegate *)[UIApplication sharedApplication].delegate;
}
@@ -170,8 +173,6 @@
//短信验证
[SMSSDK registerApp:SMSSDK_APPKey withSecret:SMSSDK_APPSec];
[SMSSDK enableAppContactFriends:NO];
/**
* 注册APNS
*/
@@ -244,10 +245,11 @@
[self setUpSVProgressHUD];
//设置友盟社会化组件appkey
//打开调试日志
[[UMSocialManager defaultManager] openLog:YES];
// if (DEBUG) {
// [[UMSocialManager defaultManager] openLog:YES];
// }
//设置友盟appkey
[[UMSocialManager defaultManager] setUmSocialAppkey:UMSocial_APPKEY];
//设置微信AppId、appSecret,分享url
//设置微信的appKey和appSecret
[[UMSocialManager defaultManager] setPlaform:UMSocialPlatformType_WechatSession appKey:@"wxb3b27d653ec3e3cb" appSecret:@"79d35215d7ef369b927f7cb21a2b8ff6" redirectURL:@"http://mobile.umeng.com/social"];