Inherits from UITableViewController
Declared in SCUserSelectionController.h

Overview

Presents the standard C2Call SDK User Selection Controller.

The User Selection Controller provides a GUI to select users from the current friend list. It will be used as part of the create group process, to choose the group members from the users friend list, but can also be used for other purposes when ever the users has to choose friends for a specific action.

Properties

selectedUserList

Array of userids which will be pre-selected when presenting the controller.

@property (nonatomic, strong) NSArray *selectedUserList

Declared In

SCUserSelectionController.h

Instance Methods

cancel:

Cancels Action.

- (IBAction)cancel:(id)sender

Parameters

sender
  • The initiator of the action

Declared In

SCUserSelectionController.h

confirmSelection:

Confirms Selection Action.

- (IBAction)confirmSelection:(id)sender

Parameters

sender
  • The initiator of the action

Declared In

SCUserSelectionController.h

setCancelAction:

Sets the result action block to be called when the users has has cancelled the user selection.

- (void)setCancelAction:(id)action

Parameters

action
  • The action block

Discussion

Inside the action block the developer has to take care of closing the controller.

Declared In

SCUserSelectionController.h

setResultAction:

Sets the result action block to be called, when the users has finished his choice.

- (void)setResultAction:(id)action

Parameters

action
  • The action block with the array of selected userids

Discussion

Inside the action block the developer has to take care of closing the controller.

Declared In

SCUserSelectionController.h