I've made plenty of buttons and I can't figure out why this one won't work.
My hierarchy is set up like this:
View -> Scroll View -> Subview -> Button
There's a lot of other items in this subview and every one of them works when touched. In the interface builder I can see that the "Touch Up Inside" event is bound to my method
- (IBAction)favoritesButtonDepressed:(id)sender
However, when I click the button, that method never executes and my breakpoint is subsequently never hit.
I noticed that even when I hold down my press on the button, the label doesn't change color (even though shows touch on highlight is enabled), but yet my other button on the view does.
User Interaction is enabled on the button as well as everything up the hierarchy.
In order for my items in the sub view to receive touch events, I made my scroll view look like the 4th answer in this post.