title: how to design Android Pattern Lock Screen in iphone
body: <p>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</p>
  
  <pre><code>- (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.
  }
  </code></pre>