Inherits from UIViewController
Declared in SCVerifyNumberController.h

Overview

The SCVerifyNumberController allows to verify the users phone number to be set as callerid.

In order to use the users phone number, as callerId for outbound calls or SMS/Text message, the phone number must be verified as valid and user owned.

This will be done by sending an SMS/Text message with a PIN code or initiating a PIN call to the given phone number. The user then has to enter the PIN in the SCNumberPINController to verify his number.

Properties

flagButton

Button to change the country.

@property (nonatomic, weak) IBOutlet UIButton *flagButton

Declared In

SCVerifyNumberController.h

labelCountry

The Users Country.

@property (nonatomic, weak) IBOutlet UILabel *labelCountry

Declared In

SCVerifyNumberController.h

phoneNumber

The Users Phone Number to verify.

@property (nonatomic, weak) IBOutlet UITextField *phoneNumber

Declared In

SCVerifyNumberController.h

Instance Methods

back:

Goes back or closes view.

- (IBAction)back:(id)sender

Parameters

sender
  • The initiator of the action

Declared In

SCVerifyNumberController.h

resetPrompt

Removes a visisble prompt.

- (void)resetPrompt

Declared In

SCVerifyNumberController.h

resetPromptAndClose

Removes a visisble prompt and close the view.

- (void)resetPromptAndClose

Declared In

SCVerifyNumberController.h

resetPromptAndContinue

Removes a visisble prompt and continue with the next view.

- (void)resetPromptAndContinue

Declared In

SCVerifyNumberController.h

selectCountry:

Select Country Action

- (IBAction)selectCountry:(id)sender

Parameters

sender
  • The initiator of the action

Declared In

SCVerifyNumberController.h

showPrompt:

Shows an info prompt to the user.

- (void)showPrompt:(id)text

Declared In

SCVerifyNumberController.h

verifyNumber:

Verifies Number Action.

- (IBAction)verifyNumber:(id)sender

Parameters

sender
  • The initiator of the action

Discussion

The Number will be submitted to the server for PIN SMS or PIN Call verification.

Declared In

SCVerifyNumberController.h

verifyNumberUsingPINCall:

Verifies Number Action.

- (IBAction)verifyNumberUsingPINCall:(id)sender

Parameters

sender
  • The initiator of the action

Discussion

The Number will be submitted to the server PIN Call verification.

Declared In

SCVerifyNumberController.h