General XCode UI Question [duplicate]
Simple question: If I have a UIButton and fill it with different subviews (UIViews, let's say) to make a grid or a collage type thing or wha开发者_StackOverflowtever, will the button still work even if it's covered in other views?
If they are added as subviews to the UIButton (being a subclass of UIView),
[myButton addSubview: collageElementSubview];
there should be no problem (although I would disable user interaction on the subviews just to be safe).
精彩评论