每次我开始构建应用程序时,主屏幕都会从屏幕底部的白条开始。它仅在主视图控制器上,如果我切换到另一个视图然后返回视图,白条不存在......为什么会发生这种情况?我认为这与我如何在 appDelegate 中实现视图有关......这是我实现它的方式:
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
// Override point for customization after application launch.
StartUpScreen *main = [[StartUpScreen alloc] initWithNibName:@"StartUpScreen" bundle:nil];
self.viewController = main;
[window addSubview:main.view];
[main release];
[window makeKeyAndVisible];
return YES;
如果您需要更多详细信息,请告诉我。谢谢