#解决iOS10及其以上系统弹出拨号框延迟的问题
+ (void)callPhoneWithPhoneNum:(NSString*)phoneNum
{
NSString *phoneStr = [NSString stringWithFormat:@"tel://%@", phoneNum];
if ([[UIDevice currentDevice].systemVersion floatValue] >= 10.0) {
//10及其以上系统
[[UIApplication sharedApplication] openURL:[NSURL URLWithString:phoneStr] options:@{} completionHandler:nil];
} else {
//10以下系统
[[UIApplication sharedApplication] openURL:[NSURL URLWithString:phoneStr]];
}
}