0

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 whatever, will the button still work even if it's covered in other views?

Mason
  • 6,893
  • 15
  • 71
  • 115

1 Answers1

1

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).

MiguelB
  • 1,913
  • 18
  • 20