How to connect multiple buttons in a storyboard to a single action?

后端 未结 7 1082
梦谈多话
梦谈多话 2020-12-03 10:16

I\'m currently using Xcode 4.6 and I\'m simply wondering how to select multiple buttons across different UIViews, but under a single view controller. CMD clicking doesn\'t s

7条回答
  •  陌清茗
    陌清茗 (楼主)
    2020-12-03 11:02

    In Xcode 5, after setting action for the 1st button, I have to build the app. This then allows me to connect other buttons action to this same IBAction method

提交回复
热议问题