Apple documentation says that scrollViewWillScrollToTop: will be called as part of the UIScrollViewDelegate protoco. However, this method doesn’t seem to exist even when I recursively grep through the /Developer folder. I don’t see where this method is being called nor its prototype. Any hints?
Apple documentation says that scrollViewWillScrollToTop: will be called as part of the UIScrollViewDelegate protoco.
Share
Are you referring to this?
It’s a typo in the docs. They meant to say
scrollViewShouldScrollToTop:. You can see they are mentioning returning a BOOL value, andwill...delegate methods usually don’t return anything. The ones starting withshould...on the other hand do.I suggest you report this by clicking the “It’s good, but…” link in the footer of the doc. I will do the same.