Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Custom SignUp UIViewController #183

Merged
merged 3 commits into from
Oct 21, 2015
Merged

Custom SignUp UIViewController #183

merged 3 commits into from
Oct 21, 2015

Conversation

hzalaz
Copy link
Member

@hzalaz hzalaz commented Oct 21, 2015

Allows to use a custom SignUp screen inside Lock.

To override it, the block customSignUp in A0LockViewController must be defined and Lock MUST be presented using the following method:

A0Lock *lock = [A0Lock sharedLock];
A0LockViewController *controller = [lock newLockViewController];
//Customise Lock
[lock presentLockController:controller fromController:self];

And then the customSignUp block should return the custom UIViewController to use instead the default one.

This controller will be displayed in fullscreen.

Also this block will receive two parameters:

  • lock instance being used by lock controller
  • delegate object to interact with lock controller e.g. to dismiss it

hzalaz added a commit that referenced this pull request Oct 21, 2015
@hzalaz hzalaz merged commit ecf6dfa into master Oct 21, 2015
@hzalaz hzalaz deleted the feature-override-signup-lock branch October 21, 2015 17:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant