Adding a header view to a UIWebView similar to Safari and Articles

Posted by MrMage on Stack Overflow See other posts from Stack Overflow or by MrMage
Published on 2010-03-20T12:45:50Z Indexed on 2010/03/20 12:51 UTC
Read the original article Hit count: 436

I'd like to add a header view to an UIWebView similar to the address/search bar in MobileSafari and the excellent Articles.app by Sophia Teutschler. More precisely, I'd like to create a "pull to fix orientation" view above a UIWebView, just like in Articles. Articles does use a UIWebView, so it seems to be possible. Is there a way to accomplish this without having to embed the UIWebView into a UIScrollView and updating its size all the time, as described in this article? Apparently, I do need the scrolling events to have the "pull to fix orientation" behave accordingly.

© Stack Overflow or respective owner

Related posts about iphone

Related posts about objective-c