在我的appdelegate中,我有方法显示Default.png 3秒(splashscreen):
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
sleep(3);
// Override point for customization after application launch.
// Add the view controller's view to the window and display.
[window addSubview:viewController.view];
[window makeKeyAndVisible];
return YES;
}
我需要在启动画面上显示一个显示3秒加载的进度条,你能帮助我吗,似乎所有工作(进度条的创建和初始化)都应该在这个方法中:)