草庐IT

PINAuthViewController

全部标签

objective-c - AppDelegate.m 类中的@interface 错误

应该是我缺少的一个简单解决方案。我有一个选项卡ViewController驱动的应用程序,我想在用户启动或打开该应用程序时对其进行密码保护。我在IB中创建了一个密码类和ViewController。我正在尝试通过以下代码使用AppDelegate.m类applicationDidLoadInForeground方法:-(void)applicationWillEnterForeground:(UIApplication*)application{NSUserDefaults*submissionDefaults=[NSUserDefaultsstandardUserDefaults];