ios*_*nyc 2 uibutton uiview ios
我想为a添加一些视图UIButton.例如,多个UILabels,UIImages等等.我添加了这些视图,但它们没有获得触摸事件.我怎样才能将触摸事件传递给UIButton?
UIButton
UILabels
UIImages
谢谢
Cla*_*fou 5
将userInteractionEnabled各财产subviews您添加到您的UIButton到NO.
userInteractionEnabled
subviews
NO
归档时间:
14 年 前
查看次数:
1502 次
最近记录:
7 年 前