On Aug 8, 2011, at 10:51 PM, arri wrote: > After allot of writing test-cases, and googling for others' experiences, i > found that the most easy and straightforward way of achieving what i want, is > to simply subcass UIWebView and override UIViews' - hitTest:withEvent method. > However, as everyone emphasize everywhere i look, the docs say i "should" not > subclass UIWebView.
There are a /lot/ of gotchas with UIWebView, so much so that even things that you might consider as an innocent override can have impact that you would not expect. If there were two ways to do something, and one involved subclassing UIWebView and the other did not, I would nearly always choose the method that didn't involved subclassing. So the question to you becomes what problem are you trying to solve that you believe you need to override -hitTest:withEvent:? -- David Duncan _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com