Thursday, June 30, 2011
viewWithTag and UIWebview
Be careful when you have a UIWebview as a subview and you are trying to get a view by using viewWithTag. The UIWebview has subviews of its own and can have the tag you are looking for. So you may end up with a UIScrollview instead of a UIWebview. It's best to check what class the view you are getting back is.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment