// // JXXMGMyVc.h // shiku_im // // Created by 123 on 2020/5/15. // Copyright © 2020 Reese. All rights reserved. // #import @interface JXXMGMyVc : UIViewController @property (nonatomic,assign) BOOL isRefresh; @property (nonatomic,strong) UILabel * moneyLabel; @property (nonatomic,strong) NSDictionary *videoDict; @property (nonatomic, assign) BOOL isGetUser; @property (nonatomic,strong) NSDictionary * getUserDict; @end /** return; NSString *url = @"mqqwpa://im/chat?chat_type=crm&uin=3448439998&version=1&src_type=web&web_src=http:://wpa.b.qq.com"; NSURL *qqURL = [NSURL URLWithString:url]; [[UIApplication sharedApplication] openURL:qqURL]; return; NSMutableString* str=[[NSMutableString alloc] initWithFormat:@"tel:%@",@"17826730204"]; UIWebView * callWebview = [[UIWebView alloc] init]; [callWebview loadRequest:[NSURLRequest requestWithURL:[NSURL URLWithString:str]]]; [self.view addSubview:callWebview]; return; BOOL hasInstalled = [[UIApplication sharedApplication] canOpenURL:qqURL]; if (!hasInstalled) { UIAlertView *alert = [[UIAlertView alloc] initWithTitle:@" 提示 " message:@" 请先安装 QQ" delegate:nil cancelButtonTitle:@" 确定 " otherButtonTitles:nil, nil]; [alert show]; } else { }17826730204 // NSString *qqNumber = @"511525004"; // NSString *openQQUrl = [NSString stringWithFormat:@"mqq://im/chat?chat_type=wpa&uin=%@&version=1&src_type=web",qqNumber]; // UIWebView *webView = [[UIWebView alloc] initWithFrame:CGRectZero]; // NSURLRequest *request = [NSURLRequest requestWithURL:[NSURL URLWithString:openQQUrl]]; // [webView loadRequest:request]; // [self.view addSubview:webView]; // NSString *openQQUrl = [NSString stringWithFormat:@"mqq://im/chat?chat_type=wpa&uin=%@&version=1&src_type=web",qqNumber]; // NSURL *url = [NSURL URLWithString:openQQUrl]; // [[UIApplication sharedApplication] openURL:url]; */