我想在我的iPhone应用程序中创建一个android模式锁定屏幕... 但我不知道该怎么做...我搜索了很多,但没有得到。 任何人都可以有一个想法如何在iPhone中做到这一点? PLZ帮我解决我的问题.. .thanx如何在iphone中设计Android模式锁定屏幕
- (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.
}
Thanx @Sumanth我想这与ARC OFF ...但它不工作// – Rox 2012-07-25 10:56:32
看你应该做一些任务。通过添加版本来添加代码,或者如果你没有那么多,请将标志-fobjc-arc添加到您想要使用ARC的文件中。这只是对方的另一种。' – Sumanth 2012-07-25 11:00:45
Thanx很多@Sumanth ........它工作.... – Rox 2012-07-25 11:10:58