Inherits from UITableViewController
Conforms to UITextFieldDelegate
Declared in SCLoginController.h

Overview

Presents the C2Call SDK Standard Login Controller.

Tasks

Outlets

Actions

Complete Actions

Handle Prompt Methods

Properties

email

The users email address.

@property (nonatomic, weak) IBOutlet EditCell *email

Declared In

SCLoginController.h

forgotPasswordButton

Forgot password button.

@property (nonatomic, weak) IBOutlet UIButton *forgotPasswordButton

Declared In

SCLoginController.h

password

The users password.

@property (nonatomic, weak) IBOutlet EditCell *password

Declared In

SCLoginController.h

Instance Methods

loginUser:

Login Action.

- (IBAction)loginUser:(id)sender

Parameters

sender
  • The initiator of the action

Declared In

SCLoginController.h

resetPrompt

Removes a visisble prompt.

- (void)resetPrompt

Declared In

SCLoginController.h

setLoginDoneAction:

Sets an Action Block to be called after login is done.

- (void)setLoginDoneAction:(id)_action

Parameters

action
  • The Action Block

Declared In

SCLoginController.h

showPrompt:

Shows an info prompt to the user.

- (void)showPrompt:(id)text

Parameters

text
  • Text Information to prompt

Declared In

SCLoginController.h