iOS LaunchScreen启动图设置


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

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

如果启动不行  记得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];//设置启动页面时间  

即可

原文地址:https://www.cnblogs.com/shaoting/p/4941814.html