thefaj / OpenFlow

CoverFlow API replacement for the iPhone
http://apparentlogic.com/openflow
818 stars 158 forks source link

UIbutton instead of Image #9

Open cocoaddict opened 14 years ago

cocoaddict commented 14 years ago

Hi, I've integrated you OpenFlow feature in my project, I'm trying to modify the code to have a "button" cover-flow (each button containing an image) I tried many ways to do this but everytime I failed, Do you know anyone who succeeded in it ? What should I do to have this feature working?

Regards.

micurley commented 14 years ago

I think you do this in the AFItemView - change the initial imageView ivar to a UIButton then change the setImage method to maniplate the buttons background image

you may need to subclass uibotton and override the touch methods - not sure