if (![[UIApplication sharedApplication]canOpenURL:[NSURL URLWithString:@"weixin://"]] ) { [wcatBtn setHidden:YES]; }