Nirma
Nirma

Reputation: 5790

UIButton on a subview not responding to touch up inside events

I have checked to make sure the button is on top and that the proper outlets are connected. There is a break point set in the IBAction method that is to be called and it is not getting called when I press the UIButton. Any ideas?

Thanks!

Upvotes: 3

Views: 4794

Answers (2)

Nirma
Nirma

Reputation: 5790

My mistake, I did a po on the subviews and it was behind a view. This would explain why it was not getting touch events.

Upvotes: 2

The Lazy Coder
The Lazy Coder

Reputation: 11838

Check to make sure the view that this button is inside has User Interaction Enabled.

Upvotes: 4

Related Questions