cocoa touch - UIToolbar above UIWebView inside UIScrollView -


i'd display toolbar above uiwebview hide toolbar until person "pulls down".

the same functionality can seen in safari on iphone. when page loads, toolbar containing address hidden. must pull down. in safari it's possible scroll , see toolbar or scroll down through page contents.

i've tried placing uitoolbar , uiwebview inside uiscrollview didn't work. i've tried setting uiscrollview size of toolbar , webview combined, didn't work.

- (void)viewdidload{     cgsize size = cgsizemake(webview.frame.size.width,                               toolbar.frame.size.height + webview.frame.size.height);     [scrollview setcontentsize:size]; } 

how should go doing this?

edit

anyone looking @ should consider question , accepted answer both old , api might have changed allow this.

the uiwebview uiscrollview it's not going work. i'm not sure how apple it, 1 way it, if have control on content of web view, write html , css replicates address bar.


Comments

Popular posts from this blog

javascript - Enclosure Memory Copies -

php - Replacing tags in braces, even nested tags, with regex -