xcodeios5uibuttontouch-up-inside

TouchUpInside not responding on iOS5


I hooked up touchUpInside as usual in IB, using new Xcode, build set to iOS 5.0, but my iPhone 4(latest iOS5 right before iOS6 came out) seems not to respond to that. Anybody having same issue?

EDIT:

Works on iOS6 simulator, not on real device...


Solution

  • Check for gesture recognizers in your code - Apple changed evaluation order of IBAction and Gesture Recognizer. In iOS6, IBAction is always performed first.