如何使用MonoTouch在iPhone中创建自动拨号程序? [英] How to create auto dialer in iPhone using MonoTouch?

查看:96
本文介绍了如何使用MonoTouch在iPhone中创建自动拨号程序?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要创建按钮来拨打一个联系电话,该电话是默认电话号码,我将在按钮单击事件中提及该电话号码.

I need to create button to call one contact number, that number is the default number and I will mention that number in button click event.

当我单击按钮时,需要使用MonoTouch在iPhone中拨打该号码.

When I click on button need to dial that number in iPhone using MonoTouch.

推荐答案

UIApplication.SharedApplication.OpenUrl(NSUrl.FromString("tel://1234567890"));

这篇关于如何使用MonoTouch在iPhone中创建自动拨号程序?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆