How Can I open phone's keypad from my app

后端 未结 2 887
庸人自扰
庸人自扰 2021-01-26 08:18

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 URLWithStrin         


        
2条回答
  •  盖世英雄少女心
    2021-01-26 08:52

    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.

    Make a phone call programmatically

提交回复
热议问题