I have a custom UITableViewCell
subclass which contains a few IBAction
methods wired up from a nib.
Under iOS 8 everything works as expected. If the user taps one of the buttons, the appropriate IBAction
is called. If the user taps anywhere else on the cell, the UITableView didSelectRowAtIndexPath
is called.
Under iOS 9, my IBAction methods are never called. The UITableView
didSelectRowAtIndexPath
is always fired regardless of where the user taps in the cell (button or not).
The project is compiled under Xcode 6 / Swift 1.2.
I found this post on an Apple forum w/ no solution. They seem to have the same issue.
https://forums.developer.apple.com/thread/16179
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…