- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
{
    self.window = [[[UIWindow alloc] initWithFrame:[[UIScreen mainScreen] bounds]] autorelease];
    // Override point for customization after application launch.
    self.window.backgroundColor = [UIColor whiteColor];
    
    //设置启动画面停留时间,5s
    [NSThread sleepForTimeInterval:5];
    
    //初始化HomeViewController页面
    HomeViewController *homeViewController = [[HomeViewController alloc] init];
    self.window.rootViewController = homeViewController;
    [homeViewController release];
    
    [self.window makeKeyAndVisible];
    return YES;
}

相关文章:

  • 2022-01-10
  • 2021-07-11
  • 2021-10-01
  • 2021-05-24
  • 2022-12-23
  • 2022-01-01
  • 2022-12-23
  • 2022-02-23
猜你喜欢
  • 2021-10-30
  • 2021-07-25
  • 2021-04-03
  • 2021-10-22
  • 2021-11-20
  • 2021-06-18
相关资源
相似解决方案