SFSDKLoginHostListViewController Class Reference
| Inherits from | UITableViewController |
|---|---|
| Declared in | SFSDKLoginHostListViewController.h |
Overview
Displays a list of hosts that can be used for login. A customer can either add a new host or select an existing host to reload the login web page.
delegate
Delegate object of the host list view controller.
@property (nonatomic, weak) id<SFSDKLoginHostDelegate> delegateDeclared In
SFSDKLoginHostListViewController.h
hidesCancelButton
Hides the Cancel button if it exists. If you’ve used a navigation controller to present this view controller, a Cancel button is automatically added to the left bar button item.
@property (nonatomic, assign) BOOL hidesCancelButtonDeclared In
SFSDKLoginHostListViewController.h
hidesAddButton
Hides the Add button if it exists. Enables the adding of hosts to the host list.
@property (nonatomic, assign) BOOL hidesAddButtonDeclared In
SFSDKLoginHostListViewController.h
– addLoginHost:
Adds a new login host. Also updates the underlying storage and refreshes the list of login hosts.
- (void)addLoginHost:(SFSDKLoginHost *)hostParameters
host |
Login host to be added. |
|---|
See Also
- showAddLoginHost for presenting a UI that allows the customer to enter a new login host.
Declared In
SFSDKLoginHostListViewController.h
– showAddLoginHost
Displays a view for adding a new login host. If you’ve used a navigation controller to present this view controller, an add button is automatically added to the right bar button item.
- (void)showAddLoginHostSee Also
- addLoginHost: for adding a login host programmatically without showing the UI.
Declared In
SFSDKLoginHostListViewController.h