【新建的iOS 项目启动画面默认为LaunchScreen.xib】

如果想实现一张图片作为启动页,如下图

iOS LaunchScreen设置启动图片,启动页停留时间

iOS LaunchScreen设置启动图片,启动页停留时间

iOS LaunchScreen设置启动图片,启动页停留时间

iOS LaunchScreen设置启动图片,启动页停留时间iOS LaunchScreen设置启动图片,启动页停留时间

iOS LaunchScreen设置启动图片,启动页停留时间

 

如果启动不行,记得clear 一下工程

 

如果启动页需要停留一段时间,只需要在 AppDelegate的方法:

- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {

// Override point for customization after application launch.

 

[NSThread sleepForTimeInterval:3.0];//设置启动页面时间

 

return YES;

}

 

 

添加一个 [NSThread sleepForTimeInterval:3.0];//设置启动页面时间

即可

相关文章:

  • 2021-08-27
  • 2021-10-24
  • 2021-10-30
  • 2021-11-12
  • 2022-12-23
  • 2021-06-13
  • 2021-04-14
  • 2022-12-23
猜你喜欢
  • 2021-10-09
  • 2021-07-04
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案