Hi Eric, can you post how your web view is animated? If I setup quick test case:
@implementation WebViewController @synthesize webView; - (void)viewDidLoad { [super viewDidLoad]; self.webView.delegate = self; NSString *path = [[NSBundle mainBundle] pathForResource:@"index" ofType:@"html"]; NSURL *url = [[NSURL alloc] initFileURLWithPath:path]; [self.webView loadRequest:[NSURLRequest requestWithURL:url]]; self.webView.alpha = 0.0; [url release]; url = nil; } - (void)viewDidUnload { self.webView = nil; } - (void)dealloc { [webView release]; webView = nil; [super dealloc]; } -(void)webViewDidFinishLoad:(UIWebView *)webView { NSString *loadHandlerStr = @"window.pageLoaded()"; [self.webView stringByEvaluatingJavaScriptFromString:loadHandlerStr]; [UIView beginAnimations:nil context:nil]; [UIView setAnimationDuration:0.5]; self.webView.alpha = 1.0; [UIView commitAnimations]; } @end both UIWebView is animated (and visible) and also content within html web page is drawn (and animated): (JavaScript/CSS) from opacity 0.0: -webkit-transition: opacity 2s linear; to 1.0: elem.style.opacity = 1.0; maybe that is some different issue that somehow became apparent on your web view use, regards, Peter Blazejewicz On Thu, Feb 11, 2010 at 8:40 PM, Eric E. Dolecki <edole...@gmail.com> wrote: > I am animating a UIWebView after it's loaded - but it doesn't display > anything unless I scroll it a little bit. If I call [webView reload]; my > webViewDidFinishLoad gets called - and that is where I put my [webView > reload] call to fix the display. What is the workaround aside from placing > the UIWebView in the main screen a few pixels? > > -- > http://ericd.net > Interactive design and development _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com