摘要: 1、NSString *num = [[NSString alloc] initWithFormat:@"tel://%@",number]; //number为号码字符串 如果使用这个方法 结束电话之后会进入联系人列表2、NSString *num = [[NSStringalloc] initWithFormat:@"telprompt://%@",number]; //而这个方法则打电话前先弹框 是否打电话然后打完电话之后回到程序中网上说这个方法可能不合法无法通过审核[[UIApplicationsharedApplication] openURL 阅读全文
posted @ 2013-08-17 22:21 GreyWolf 阅读(243) 评论(0) 推荐(0) 编辑
摘要: //1、调用 自带mail[[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"mailto://163@163.com"]];//2、调用 电话phone[[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"tel://13800138000"]];//3、调用 SMS[[UIApplication sharedApplication] openURL:[NSURL URLWithString:@& 阅读全文
posted @ 2013-08-17 21:27 GreyWolf 阅读(183) 评论(0) 推荐(0) 编辑