如何从我的应用程序中打开手机的键盘 [英] How Can I open phone's keypad from my app
本文介绍了如何从我的应用程序中打开手机的键盘的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
从我的应用程序中,我想打开手机的拨号键盘,用于拨打电话。我试过
From my app I want to open the phone's dialer keypad which is used to make phone call. I tried as
[[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"tel:"]];
但是它没有打开手机的键盘。
But it does not open the keypad of phone.
推荐答案
无法打开手机的键盘。您可以在视图控制器中设计自己的手机垫,为声音添加DTMF音调,使其看起来像手机的键盘。
如果你想要自己的手机,并想在你的应用程序中使用它,那么这是唯一的方法。
Its not possible to open the Phone's keypad. You can design your own phone pad in your view controller, add DTMF Tones for sounds and make it look like a phone's keypad. If you want your own phonepad and want to have it within your app then this is the only way.
如果需要,可以打开手机应用程序并执行通话,请参阅以下链接以了解其完成情况。
It is possible to open the Phone app and execute a call if you want,refer to the link below to know how its done.
这篇关于如何从我的应用程序中打开手机的键盘的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文