重庆迈尖科技有限公司
2019-01-30 94217b294ccd75a34787eb04d6e273e99536e45b
BuWanVideo2.0/LoggingViewController.m
@@ -69,7 +69,11 @@
        //隐藏状态栏
        [[UIApplication sharedApplication] setStatusBarHidden:YES];
        //添加返回按钮
        UIButton *backButton=[[UIButton alloc] initWithFrame:CGRectMake(15, 15, 32, 32)];
        CGFloat height = 15;
        if (KIsiPhoneX) {
            height = 35;
        }
        UIButton *backButton=[[UIButton alloc] initWithFrame:CGRectMake(15, height, 32, 32)];
        [backButton setImage:[UIImage imageNamed:@"取消登录"] forState:UIControlStateNormal];
        [backButton addTarget:self action:@selector(presentBack) forControlEvents:UIControlEventTouchUpInside];
        [self.view addSubview:backButton];
@@ -291,6 +295,7 @@
    settingwebVC.webTitle=@"用户协议&隐私条款";
    settingwebVC.requestURL=[NSString stringWithFormat:@"%@/api_control_ios.jsp",iconImageUrl];
    if(_ispresent){//模态跳转
        settingwebVC.ispresent = YES;
        [self presentViewController:settingwebVC animated:YES completion:^{
            
        }];
@@ -376,6 +381,13 @@
 *  @param sender QQ登录的按钮
 */
-(void)ClickQQ:(UIButton*)sender{
    if (![[UIApplication sharedApplication] canOpenURL:[NSURL  URLWithString:@"mqq://"]]){
        [SVProgressHUD showInfoWithStatus:@"您还没有安装QQ哦"];
        return;
    }
    [[UMSocialManager defaultManager] getUserInfoWithPlatform:UMSocialPlatformType_QQ currentViewController:nil completion:^(id result, NSError *error) {
        if (error) {