iOS,点击button拨打电话

//按钮点击拨打电话

-(void)kfclick:(UIButton *)btn {

 

       [[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"tel://400-898-3001"]];

}

 

posted @ 2017-09-04 15:15  whx060900  阅读(269)  评论(0编辑  收藏  举报