iPhone OS: Tap status bar to scroll to top doesn't work after remove/add back

Posted by avocade on Stack Overflow See other posts from Stack Overflow or by avocade
Published on 2009-09-01T10:02:58Z Indexed on 2010/04/15 23:33 UTC
Read the original article Hit count: 365

Using this method to hide the status bar:

[[UIApplication sharedApplication] setStatusBarHidden:YES animated:YES];

When setting "hidden" back to NO, the tap-to-scroll-to-top (in UIWebView, UITableView, whatever) doesn't work any more, and requires a restart of the app to get the functionality back.

Is this a bug (I filed a rdar anyhow) or have I missed a step? Should I perhaps expect this behavior since the statusBar "loses touch" somehow with the respective view?

© Stack Overflow or respective owner

Related posts about iphone

Related posts about cocoa-touch