Inherits from UITableViewController
Declared in SCUserProfileController.h

Overview

User Profile ViewController of the current User.

This ViewController component presents the User Profile and allows changes to the following User Profile Attributes:

- Firstname
- Lastname
- Phone Number for work, mobile, home and other
- User Image

In addition, the User Profile allows to verify the users callerId and to order a C2Call DID Number.

Properties

callerid

Users callerid if available.

@property (nonatomic, weak) IBOutlet UILabel *callerid

Declared In

SCUserProfileController.h

credit

Users current credit.

@property (nonatomic, weak) IBOutlet UILabel *credit

Declared In

SCUserProfileController.h

didnumber

Users DID-Number if available.

@property (nonatomic, weak) IBOutlet UILabel *didnumber

Declared In

SCUserProfileController.h

email

Users Email Address.

@property (nonatomic, weak) IBOutlet UILabel *email

Declared In

SCUserProfileController.h

firstname

Users Firstname.

@property (nonatomic, weak) IBOutlet UITextField *firstname

Declared In

SCUserProfileController.h

lastname

Users Lastname.

@property (nonatomic, weak) IBOutlet UITextField *lastname

Declared In

SCUserProfileController.h

phoneHome

Home Phone Number.

@property (nonatomic, weak) IBOutlet UITextField *phoneHome

Declared In

SCUserProfileController.h

phoneMobile

Mobile Phone Number.

@property (nonatomic, weak) IBOutlet UITextField *phoneMobile

Declared In

SCUserProfileController.h

phoneOther

Other Phone Number.

@property (nonatomic, weak) IBOutlet UITextField *phoneOther

Declared In

SCUserProfileController.h

phoneWork

Work Phone Number.

@property (nonatomic, weak) IBOutlet UITextField *phoneWork

Declared In

SCUserProfileController.h

userImageButton

Users Profile Image.

@property (nonatomic, weak) IBOutlet UIButton *userImageButton

Declared In

SCUserProfileController.h

Instance Methods

refreshUserProfile

This method will be called on updated userprofile

- (void)refreshUserProfile

Discussion

Overwrite this method to present additional data for the user profile. Calling super is required.

Declared In

SCUserProfileController.h

saveUserProfile:

Saves User Profile Action.

- (IBAction)saveUserProfile:(id)sender

Parameters

sender
  • The initiator of the action

Declared In

SCUserProfileController.h

selectPhoto:

Selects User Profile Image Action.

- (IBAction)selectPhoto:(id)sender

Parameters

sender
  • The initiator of the action

Declared In

SCUserProfileController.h

textFieldDidEndEditing:

TextField didEndEditing action.

- (IBAction)textFieldDidEndEditing:(id)sender

Parameters

sender
  • The initiator of the action

Declared In

SCUserProfileController.h