如何查找或编辑已有的IBAction?
How to look up or edit existing IBAction?
通过 ctrl + 拖动添加 IBAction 时,可以看到此菜单:
但是当 IBAction 已经创建时我如何访问它呢?如何查看或编辑在此菜单中选择的值?
你可以检查IBAction
已经存在于xib
或storyboard
中,方法是点击view / view controller -> 在右边的菜单中,select Show the connections inspector
然后在底部,检查 Received Actions
部分:
通过 ctrl + 拖动添加 IBAction 时,可以看到此菜单:
但是当 IBAction 已经创建时我如何访问它呢?如何查看或编辑在此菜单中选择的值?
你可以检查IBAction
已经存在于xib
或storyboard
中,方法是点击view / view controller -> 在右边的菜单中,select Show the connections inspector
然后在底部,检查 Received Actions
部分: