I have a weird issue where a button which is added as a subview of a scrollview, is reacting to touch events fine but in my buttonPressedid)sender method it's passing the tag of the main UIScrollView. I have a bunch of other buttons created in the exact same way (not in IB) and they work fine. Any ideas?
Cheers.
Edit: Nevermind, the button had a tag of zero changing this fixed the problem.
Cheers.
Edit: Nevermind, the button had a tag of zero changing this fixed the problem.
Last edited: