synchronously load html content in UIWebView

Posted by mbg1987 on Stack Overflow See other posts from Stack Overflow or by mbg1987
Published on 2012-04-14T05:17:20Z Indexed on 2012/04/14 5:29 UTC
Read the original article Hit count: 182

Filed under:
|
|
|
|

im using a UIWebView to show html content in my app, the app contains two arrows to navigate between topics just like a RSS reader app, but when the user hits up or down arrow, the next topic doesn't show up until the data come back and the user still able to interact with the UI which is a bit confusing,

My question: how to block the UI when user moves to the next/back topic ? in other words how to make loadHTMLString:baseURL: works as a synchronous calling ? thanks !

© Stack Overflow or respective owner

Related posts about iphone

Related posts about objective-c