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 > iPhone SDK Development Forums > iPhone SDK Development

Reply
 
LinkBack Thread Tools Display Modes
Old 09-30-2009, 05:10 AM   #1 (permalink)
Registered Member
 
Join Date: Sep 2009
Posts: 1
Unhappy UIWebView delayed displaying of content

I'm displaying paginated text using UIWebView per page inside a UIScrollView. As the user swipes off the last page of a section I load the next section generate the new pages and add them to the UIScrollView removing the previous pages.

All working nicely except; The new UIWebView will not show its content immediately, there is a variable time delay with a blank page being show before the content shows up. This can be up to 5 seconds.

The content is coming from a string and loaded using loadHTMLString.
webViewDidFinishLoad is not triggered but I presume this is because it is not for content loaded directly.

I've tried triggering a reload and setNeedsDisplay with no affect.

I also made sure that the UIWebView is actually visible before loading the content - to no avail.

I'm now tearing my hair out!!!!
icemark is offline   Reply With Quote
Reply

Bookmarks

Tags
uiscrollview, uiwebview

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



» Advertisements
» Stats
Members: 158,484
Threads: 89,092
Posts: 380,130
Top Poster: BrianSlick (7,091)
Welcome to our newest member, lavernwatts
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 04:50 AM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0