Adding other views to UIButton
I want开发者_高级运维 to add some views to a UIButton. For example multiple UILabels, UIImages, etc.
One I add those views, they do not get the touch events. How can I pass the touch events to UIButton?
Thanks
Set the userInteractionEnabled property of each of the subviews you added to your UIButton to NO.
加载中,请稍侯......
精彩评论