AKFAdvancedUIManager
Há uma versão mais recente desta classe disponível. Confira. a versão mais recente.

Manager for advanced UI configuration.

Extends Protocol:NSObject
Declared in:AKFAdvancedUIManager.h
Métodos da instância
actionBarViewForState:

Returns a custom view to use above the scrollable content.

ParâmetroDescrição
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.

ParâmetroDescrição
state

The current state of the login flow

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

Returns the button type for the given login state.

ParâmetroDescrição
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.

ParâmetroDescrição
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.

ParâmetroDescrição
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.

ParâmetroDescrição
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.

ParâmetroDescrição
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.

ParâmetroDescrição
state

The current state of the login flow

- (AKFTextPosition) textPositionForState:(AKFLoginFlowState)state;