ios - UIButton (programmatically added) ignoring touches -
i've got view hierarchy
- one stack view vertical orientation , bunch of
uibuttons
added programmatically plus - a second stack view horizontal orientation partially overlapping first view
- both stack views having view controllers root view common super view
uibuttons
added first view respond touches fine.
uibuttons
added second view ignore touches.
both series of buttons added stack views using the same method, i.e. having userinteractionenabled
enabled, targets set properly, etc.
any ideas why only buttons in second stack view ignore touches..?
the view hierarchy looks expected in xcode's view debugger, i.e. horizontal view on top of else nothing potentially eat touch events..
the buttons in horizontal view have identical tags , targets of buttons in vertical stack view (representing kind of 'more..' functionality vertical buttons).
any touch debugging facilities enable view hierarchy..?
Comments
Post a Comment