MGPinViewController 0.1

MGPinViewController 0.1

TestsTested
LangLanguage Obj-CObjective C
License MIT
ReleasedLast Release Dec 2014

Maintained by Unclaimed.



  • By
  • Matt Glover

A UIViewController subclass that provides a PIN view presentation.

Typical usage is presenting the ViewController within a UINavigationController

#import "MGPinViewController.h"
- (void)showPinViewController {

  MGPinViewController *pinViewController = [[MGPinViewController alloc] initWithValidPin:@"1234"];

  UINavigationController *pinNavigationController = [[UINavigationController alloc] initWithRootViewController:pinViewController];
  [self presentModalViewController:pinNavigationController animated:NO];
}