Latest | 1.0.0 |
---|---|
Homepage | https://github.com/acerbetti/ACETelPrompt |
License | MIT |
Platforms | ios , requires ARC |
Authors |
ACETelPrompt
is an helper to easily make phone call using the telprompt scheme.
Using telprompt first gives a prompt asking whether the user wants to make the call or cancel it. If the user selects the call option from the prompt that is displayed, the call is placed and the control returns back to the app after the call is finished.
The helper uses blocks to get the user choice also logging the phone duration.
Example Usage
[ACETelPrompt callPhoneNumber:self.phoneField.text
call:^(NSTimeInterval duration) {
NSLog(@"User made a call of %.1f seconds", duration);
} cancel:^{
NSLog(@"User cancelled the call");
}];
CocoaPods
- Add
pod 'ACETelPrompt'
to your Podfile. - Run
pod install
License
ACETelPrompt is available under the MIT license. See the LICENSE file for more info.
Latest podspec
{ "name": "ACETelPrompt", "version": "1.0.0", "summary": "Helper to call a phone number from an iPhone using the telpromp scheme.", "homepage": "https://github.com/acerbetti/ACETelPrompt", "license": { "type": "MIT", "file": "LICENSE" }, "authors": { "Stefano Acerbetti": "[email protected]" }, "platforms": { "ios": null }, "source": { "git": "https://github.com/acerbetti/ACETelPrompt.git", "tag": "1.0.0" }, "source_files": "ACETelPrompt/*.{h,m}", "requires_arc": true }
Wed, 02 Mar 2016 07:26:03 +0000