Extend TTPhotoViewController with custom TTPhotoView

Posted by ggould75 on Stack Overflow See other posts from Stack Overflow or by ggould75
Published on 2010-06-07T17:18:47Z Indexed on 2010/06/07 17:22 UTC
Read the original article Hit count: 309

I have successfully integrated the three20 framework in my project, and I have extended the TTPhotoViewController to add some further functionality.

Now I need to add some subviews to the TTPhotoView loaded by the TTPhotoViewController. In particular I would like to add that subviews after every TTPhotoView as been loaded. These subviews represents sensible area over the image so they should scale proportionally with the image. The user can tap a subview to get extra info about the image.

I don't know how to implement this behavior. Should I extend the TTPhotoView and make sure that the TTPhotoViewController use this extended version instead of its TTPhotoView?

Could someone point me to the right direction? Thank you

© Stack Overflow or respective owner

Related posts about iphone

Related posts about three20