How to create auto dialer in iPhone using MonoTouch?

百般思念 提交于 2019-12-25 08:04:19

问题


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.

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


回答1:


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


来源:https://stackoverflow.com/questions/8080810/how-to-create-auto-dialer-in-iphone-using-monotouch

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!