내 아이폰 앱에 안드로이드 패턴 잠금 화면을 만들고 싶습니다 ... 하지만 어떻게 해야할지 모르겠지만 아무것도 찾지 못했습니다. 누구나 아이폰에서 어떻게 할 수 있을까? Plz은이 당신을 위해 무엇을 찾고있는 .thanx아이폰에 안드로이드 패턴 잠금 화면을 디자인하는 방법
- (void)viewDidLoad
{
tapCount=0;
attempt=0;
[email protected]"";
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.
}
고맙습니다 @ 수만 트 ARC로 꺼내고 싶지만 ... 작동하지 않습니다. // – Rox
몇 가지 작업을 수행해야합니다. 릴리즈를 추가하거나 코드가 많지 않다면 코드를 만들어서'ARC를 사용할 파일에 플래그 -fobjc-arc 플래그를 추가하십시오. 그것은 단지 다른 반대입니다. " – Sumanth
고맙습니다 @ 수잔트 ........ 그것이 작동합니다 .... – Rox