Programmatically Dial a Phone number and pass DTMF using the iPhone SDK
The iPhone SDK does NOT give you direct access to dial numbers (imagine if a 'bad' program got on your phone and dialed a pay per minute number on mute so you didn't notice).
However, if you use the tel link, then you should be able to send it "," characters which inserts pauses.
So to dial 555-1212, then wait 4 seconds, then do 12345# on the touch tone you would use tel:5551212,,12345#
Check out
https://developer.apple.com/library/archive/featuredarticles/iPhoneURLScheme_Reference/PhoneLinks/PhoneLinks.html
How would I dial a number and then key in numbers to the dialpad five seconds after?
See this question on SO: Programmatically Dial a Phone number and pass DTMF using the iPhone SDK
It appears that you cannot dial a number programmatically, but you can achieve what you're trying to do by using ","s in the number that you call.
EX:
[[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"tel:01212842800,,,,,,,,,NUMBER_HERE"]];
With the commas acting as pauses.
IOS calling a number and enter a code
No, this is not possible, at least via code.
You can use the tel: url schema to call the number.
then use the 'p' for a pauze:
tel:+145555464p123
Is it possible to call a telephone number with an extension?
Not 100% sure if this is the answer, but from the RFC you linked on page 14:
tel:+358-555-1234567;postd=pp22
The above URL instructs the local entity to place a voice call to
+358-555-1234567, then wait for an implementation-dependent time (for
example, two seconds) and emit two DTMF dialing tones "2" on the line
(for example, to choose a particular extension number, or to invoke a
particular service).
Hope this helps.
Call out Phone App in iPhone & fill in a phone number ( no dial )
It doesn't appear so, according to the official docs at http://developer.apple.com/library/ios/ipad/#featuredarticles/iPhoneURLScheme_Reference/Introduction/Introduction.html
Sorry.
If you're trying to predial (eg for a calling card) then you could get input from the user, prepend your number, then call the tel URL in one feel swoop. Is that the sort of thing you're trying to accomplish?
Related Topics
Xcode 6 Keeps Renaming My App's Directory in iOS8 Simulator After Each Run
Swiftui Hide Tabview Bar Inside Navigationlink Views
Swiftui Datepicker Binding Optional Date, Valid Nil
Pod Install Is Staying on "Setting Up Cocoapods Master Repo"
Check If Uicolor Is Dark or Bright
Custom Font Sizing in Xcode 6 Size Classes Not Working Properly with Custom Fonts
Uitableviewcell Checkmark to Be Toggled on and Off When Tapped
Cannot Set Searchbar as Firstresponder
How to Detect Apps First Launch in iOS
How to Get Only Images in the Camera Roll Using Photos Framework
Create a Copy of a Uiview in Swift
Right Way of Determining Internet Speed in iOS 8
Once Jailbroken, Will iOS Apps Run with Root Privilege
What's the Uiscrollview Contentinset Property For
Analysing Assets.Car File in iOS
Uitabbar Items Jumping on Back Navigation on iOS 12.1