AKFAdvancedUIManager
A more recent version of this class is available. Check out the latest version.

Manager for advanced UI configuration.

Extends Protocol:NSObject
Declared in:AKFAdvancedUIManager.h
Instance Methods
actionBarViewForState:

Returns a custom view to use above the scrollable content.

ParameterDescription
state

The current state of the login flow

- (nullable UIView *) actionBarViewForState:(AKFLoginFlowState)state;
bodyViewForState:

Returns a custom view for the body in the middle of the scrollable container.

ParameterDescription
state

The current state of the login flow

- (nullable UIView *) bodyViewForState:(AKFLoginFlowState)state;
buttonTypeForState:

Returns the button type for the given login state.

ParameterDescription
state

The current state of the login flow

- (AKFButtonType) buttonTypeForState:(AKFLoginFlowState)state;
Discussion:

This method is only called for PhoneLogin, EmailLogin and ConfirmationCode states.

footerViewForState:

Returns a custom view for the bottom of the content in the scrollable container.

ParameterDescription
state

The current state of the login flow

- (nullable UIView *) footerViewForState:(AKFLoginFlowState)state;
headerViewForState:

Returns a custom view for the top of the content in the scrollable container.

ParameterDescription
state

The current state of the login flow

- (nullable UIView *) headerViewForState:(AKFLoginFlowState)state;
setActionController:

Provides a controller for the receiver that can send messages back to the current controller.

ParameterDescription
actionController

The action controller

- (void) setActionController:(nonnull id<AKFAdvancedUIActionController>)actionController;
Discussion:

This method will be called before any views are retrieved.

setError:

Called when an error is encountered and should be displayed in the UI.

ParameterDescription
error

The error

- (void) setError:(nonnull NSError *)error;
Discussion:

This method will be called before the views are retrieved.

textPositionForState:

Returns the position of the text relative to the content body view.

ParameterDescription
state

The current state of the login flow

- (AKFTextPosition) textPositionForState:(AKFLoginFlowState)state;