0
我想给我的UIButton的自定义子类,以便每个按钮跟踪哪些按钮是左侧,右侧,顶部和底部。给UIButton的自定义子类
例如(在引脚6x5按键布局),我想我的按钮按钮button23
(在位置(2,3))有button23.left = button22
button23.right = button24
button23.top = button33
和button23.bottom = button13
。什么是最好的方式去做这件事?