如何在webView加載之前顯示啓動圖像?直到webView加載顯示啓動圖像
現在,當我啓動我的應用程序,我看到啓動圖像,然後5秒空屏幕,然後google.com網站。我想顯示發射圖像,而不是5秒空屏幕。我有Xcode版本4.3.1。
我XViewController.m
- (void)viewDidLoad
{
[super viewDidLoad];
// Do any additional setup after loading the view, typically from a nib.
[self.webView loadRequest:[NSURLRequest requestWithURL:[NSURL URLWithString:@"http://google.com"]]];
}
謝謝!它適合我。我花了幾個小時在文檔中並修復它。 – 2012-03-29 09:27:30