在我的 tabBar 出现之前,我现在正在编写一个注册屏幕。我的想法是通过这种方法显示我的注册屏幕(暂时没有关闭功能):
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
{
// Override point for customization after application launch.
Register *registerView = [[Register alloc] initWithNibName:nil bundle:nil];
[self presentModalViewController:registerView animated:YES];
return YES;
}
这在 AppDelegate.m 中
不幸的是它不起作用。你能帮我解决这个问题吗?