Advertise Books Events Forum News Social Networking Support Us

sdkIQ for iPhone
($4.99)

Shape Up
($0.99)

Your First iPhone App
($1.99)

iVidCam Free
(free)

Kid Art
($0.99)

iPUBQUIZ
(£1.19)

ArtStudio
($3.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum

View Single Post
Old 10-09-2008, 07: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
 
Enter the iPhone App Challenge!  Win $500!
» Advertisements
» Stats
Members: 23,944
Threads: 38,724
Posts: 169,931
Top Poster: smasher (2,554)
Welcome to our newest member, mickeyargo
Powered by vBadvanced CMPS v3.1.0

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