Advertise Mobile SDKs Books Events Forum News Social Networking Support Us
Follow @iphonedevsdk on Twitter

Mockup & CodeGen, iPhone & iPad
($9.99)

Make your own iPhone apps
and run them live!
(free)

Manu
($0.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum

View Single Post
Old 10-09-2008, 08:19 AM   #2 (permalink)
jsm174
New Member
 
Join Date: Oct 2008
Posts: 2
Default

I had the same issue.

Basically, I make my view with a black background, and then add a hidden UIWebView to it. When you set the UIWebView's delegate to your view, after the page finishes loading it will call webViewDidFinishLoad.

From there I delay an additional .2 because in my page I have some jQuery that takes a little bit to kick in.

Code:
- (void)webViewDidFinishLoad:(UIWebView *)webView {
    [self performSelector:@selector(showAboutWebView) withObject:nil afterDelay:.2];          
}

- (void)showAboutWebView {
	[aboutWebView setHidden:NO];
}

-- Jason
jsm174 is offline   Reply With Quote
 

» Advertisements
» Stats
Members: 158,716
Threads: 89,175
Posts: 380,475
Top Poster: BrianSlick (7,117)
Welcome to our newest member, Lfelipe
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 10:54 AM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.