ios - How can I open the iPhone phone keypad programmatically? -


i don't want call number. want open phone keypad programmatically.

how can this?

i think can add uitextfield , hide , call becomefirstresponder:

var textfield : uitextfield //create , set hidden true textfield.keyboardtype = uikeyboardtype.phonepad //keyboardtype textfield.hidden = true  //to fire keyboard textfield.becomefirstresponder() 

Comments

Popular posts from this blog

command line - Use qwinsta in PowerShell ISE -

ruby - Net::HTTP extremely slow responses for HTTPS requests -

java - Incorrect order of records in M-M relationship in hibernate -