问题
I have a situation where I'd like a button to respond to two different IBAction methods. Is there a way that I can force a particular method first? When I look at the buttons connections in IB they are in the correct order, but they consistently perform in the opposite order.
回答1:
I don't believe so, but why not just call one action from the other?
回答2:
Deleting all the connections in IB then reconnecting in the order I require seemed to work.
来源:https://stackoverflow.com/questions/632309/iphone-sdk-ibaction