Why does a UIWebView instance not call scrollViewDidScroll?
问题 iOS documention says, that the UIWebView class conforms to UIScrollViewDelegate. But an UIWebView instance does not call the scrollViewDidScroll method of its controller. The delegate is set just right by [webView setDelegate:self]; and webViewDidFinishLoad is called successfully. The controller implements both delegates, UIWebViewDelegate and UIScrollViewDelegate, like this: @interface WebviewController : UIViewController<UIWebViewDelegate, UIScrollViewDelegate>{ UIWebView *webView; }