How can I display a splash screen for longer on an iPhone?

前端 未结 24 1887
滥情空心
滥情空心 2020-11-27 11:37

How can I display a splash screen for a longer period of time than the default time on an iPhone?

24条回答
  •  余生分开走
    2020-11-27 12:23

     Inside your AppDelegate.m
    
        - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
        {
            // Sleep is code to stop the slash screen for 5MoreSeconds
            sleep(5);
    
            [self initializeStoryBoardBasedOnScreenSize];
            return YES;
        }
    

    //VKJ

提交回复
热议问题