2010-11-26 32 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將其關閉。

相關問題