Manager for advanced UI configuration.
Extends Protocol: | NSObject |
Declared in: | AKFAdvancedUIManager.h |
actionBarViewForState:
Returns a custom view to use above the scrollable content.
パラメーター | 説明 |
---|---|
state | The current state of the login flow |
- (nullable UIView *)
actionBarViewForState:(AKFLoginFlowState)state;
AKFAdvancedUIManager.h
bodyViewForState:
Returns a custom view for the body in the middle of the scrollable container.
パラメーター | 説明 |
---|---|
state | The current state of the login flow |
- (nullable UIView *)
bodyViewForState:(AKFLoginFlowState)state;
AKFAdvancedUIManager.h
buttonTypeForState:
Returns the button type for the given login state.
パラメーター | 説明 |
---|---|
state | The current state of the login flow |
- (AKFButtonType)
buttonTypeForState:(AKFLoginFlowState)state;
This method is only called for PhoneLogin, EmailLogin and ConfirmationCode states.
AKFAdvancedUIManager.h
headerViewForState:
Returns a custom view for the top of the content in the scrollable container.
パラメーター | 説明 |
---|---|
state | The current state of the login flow |
- (nullable UIView *)
headerViewForState:(AKFLoginFlowState)state;
AKFAdvancedUIManager.h
setActionController:
Provides a controller for the receiver that can send messages back to the current controller.
パラメーター | 説明 |
---|---|
actionController | The action controller |
- (void)
setActionController:(nonnull id<AKFAdvancedUIActionController>)actionController;
This method will be called before any views are retrieved.
AKFAdvancedUIManager.h
setError:
Called when an error is encountered and should be displayed in the UI.
パラメーター | 説明 |
---|---|
error | The error |
- (void)
setError:(nonnull NSError *)error;
This method will be called before the views are retrieved.
AKFAdvancedUIManager.h
textPositionForState:
Returns the position of the text relative to the content body view.
パラメーター | 説明 |
---|---|
state | The current state of the login flow |
- (AKFTextPosition)
textPositionForState:(AKFLoginFlowState)state;
AKFAdvancedUIManager.h