2010-11-26 29 views

回答

1

入住这link

或代码如下,

在应用程序委托的接口:

@interface AppDelegate : NSObject 

{ 的UIImageView * splashView; }

在实施:

@implementation AppDelegate 

- (无效)的applicationDidFinishLaunching:(UIApplication的*)应用{

[窗口addSubview:tabBarController.view]; splashView = [[UIImageView alloc] initWithFrame:CGRectMake(0,0,320,480)]; splashView.image = [UIImage imageNamed:@“Default.png”]; [window addSubview:splashView]; [window bringSubviewToFront:splashView];

//你的耗时设置

[splashView removeFromSuperview]; [splashView发布]; }

+0

“闪屏”不应该用于品牌或显示徽标,它应该看起来像应用程序的默认条件,以便它看起来很快启动。 让它在那里停留更长时间将违反HIG。 – KingofBliss 2010-11-26 15:59:00

0

你可以将您的介绍视图放在前面,然后使用NSTimer将其关闭。

相关问题