Search code examples
iphoneobjective-ciosxcodelockscreen

how to design Android Pattern Lock Screen in iphone


I Want to create an android Pattern lock screen in my iphone app... but i don't know how to do that... i searched a lot but nothing got.. Can anybody have an idea how to do that in iphone??? Plz help me to solve my problem.. .thanx

- (void)viewDidLoad
 {

  tapCount=0;
  attempt=0; 
  password=@"";

tap = [[UITapGestureRecognizer alloc] initWithTarget:self action:@selector(cancel:)];
[self.view addGestureRecognizer:tap];
[self.navigationController.navigationBar setHidden:YES];



[super viewDidLoad];
self.passwordSet=NO;
// Do any additional setup after loading the view.
}

Solution

  • okay the android pattern lock for IOS can be done using the sample code provided here