Inherits from UIViewController
Declared in SCDialPadController.h

Overview

Presents the standard C2Call SDK Smart Dial Pad Controller.

The Dial Pad implements a phone keyboard with several enhanced options:

- Global Database for country and area codes: shows the destination country and area while typing the number
- Automatic price information on the entered target number
- Support for several international phone number formats
- Dial Assistant 
- Country Selector

Properties

commentField

The comment field shows user hints like dialed country or area.

@property (nonatomic, weak) IBOutlet UILabel *commentField

Declared In

SCDialPadController.h

flagButton

Flag Button for Country Selection shows the flag of the selected country.

@property (nonatomic, weak) IBOutlet UIButton *flagButton

Declared In

SCDialPadController.h

infoView

UIView reference to the Info Area.

@property (nonatomic, weak) IBOutlet UIView *infoView

Declared In

SCDialPadController.h

keyboardView

UIView reference to the keyboard view.

@property (nonatomic, weak) IBOutlet UIView *keyboardView

Declared In

SCDialPadController.h

numberField

The actual phone number to display.

@property (nonatomic, weak) IBOutlet UILabel *numberField

Declared In

SCDialPadController.h

priceInfoLabel

The price info for the destination number.

@property (nonatomic, weak) IBOutlet UITextField *priceInfoLabel

Declared In

SCDialPadController.h

smsButton

SMS/Text Messsage Button.

@property (nonatomic, weak) IBOutlet UIButton *smsButton

Declared In

SCDialPadController.h

userCredit

The available user credit label.

@property (nonatomic, weak) IBOutlet UILabel *userCredit

Declared In

SCDialPadController.h

Instance Methods

callNumber:

Calls the entered number.

- (IBAction)callNumber:(id)sender

Parameters

sender
  • The initiator of the action

Declared In

SCDialPadController.h

chooseCountry:

Chooses Country Code Action.

- (IBAction)chooseCountry:(id)sender

Parameters

sender
  • The initiator of the action

Discussion

Shows the CountrySelection Controller.

Declared In

SCDialPadController.h

del:

Removes the last digit.

- (IBAction)del:(id)sender

Parameters

sender
  • The initiator of the action

Declared In

SCDialPadController.h

dial:

Dials a single digit.

- (IBAction)dial:(id)sender

Parameters

sender
  • The initiator of the action

Discussion

The [sender tag] provides the actual digit.

Declared In

SCDialPadController.h

pickNumber:

Set the pre-defined number for the number field

- (void)pickNumber:(id)number

Parameters

number
  • The number to set

Declared In

SCDialPadController.h

refreshPriceInfo

Refreshes price information; will be automatically called on entering a phone number.

- (void)refreshPriceInfo

Declared In

SCDialPadController.h

showCallHistory:

Shows the Call History of the last called numbers.

- (IBAction)showCallHistory:(id)sender

Parameters

sender
  • The initiator of the action

Declared In

SCDialPadController.h

showDialAssistant:

Shows the dial assistant.

- (IBAction)showDialAssistant:(id)sender

Parameters

sender
  • The initiator of the action

Declared In

SCDialPadController.h

showPicker:

Shows iOS PeoplePicker controller to pick a number from address book.

- (IBAction)showPicker:(id)sender

Parameters

sender
  • The initiator of the action

Declared In

SCDialPadController.h

smsAction:

Opens the SMS Chat.

- (IBAction)smsAction:(id)sender

Parameters

sender
  • The initiator of the action

Discussion

Opens the SMS Chat with the entered phone number.

Declared In

SCDialPadController.h

touchTone:

Plays a touch tone.

- (IBAction)touchTone:(id)sender

Parameters

sender
  • The initiator of the action

Discussion

The touch tone will be chosen by the [sender tag] (0-11).

Declared In

SCDialPadController.h