PDA

View Full Version : "scrollsToTop" equivalent for UIWebView?




jnic
Jan 15, 2009, 11:39 AM
Does UIWebView have an analogous property to UIScrollView's scrollsToTop? Can't seem to find one in the docs (https://developer.apple.com/iphone/library/documentation/UIKit/Reference/UIWebView_Class/Reference/Reference.html)...

Would be nice to emulate Safari's behaviour in this respect (I notice that, for instance, the Facebook app manages).

Obviously this is possible to hack by placing a UIWebView within a UIScrollView and abusing scrollViewDidScrollToTop, but I'm hoping for something a bit cleaner.