Digipass S3 is now DigipassONE. This section is currently being updated to reflect our new name.

Replacing the sign-up UI

Prev Next

The App SDK provides a default UI for the Sign-up form implemented as a view object.

To replace the default implementation of the Sign-up UI:

  • Implement your own View Controllers inherited from NNLSignUpBaseViewController and NNLBaseSignUpMethodViewController.

  • Implement your own factory called SampleSignUpUIFactory by adopting the NNLISignUpUIFactory protocol. The method createSignUpViewController() returns an instance of your NNLSignUpBaseViewController and the method createSignUpMethodViewController()
    returns an instance of your NNLBaseSignUpMethodViewController.

  • Set an instance of your SampleSignUpUIFactory factory to be used by the App SDK by calling NNLSignUpUIFactory.setInstance(SampleSignUpUIFactory())

Working examples in Tutorial web app

  • Refer to the SampleSignUpUIFactory, SampleSignUpViewController and SampleSignUpMethodViewController classes.