ios - Why is my UIView drawing behind my other views? -


i have uiview opened , closed button onscreen. positioning on scrollable custom text area bunch of uilabels added uiscrollview.

i've made sure added last in view hierarchy, in xib. have tried calling bringsubviewtofront, , have removed uiview parent view , re-added after doing layout.

nothing have tried prevents being drawn behind uiscrollview. have verified uiview last uiview in hierarchy looking @ view hierarchy in debugger @ runtime.

the uiview in question, shown smiley in picture here, has children. has 3x3 grid of invisible uibuttons, , uiimageview draw image, other smiley. operating on parent uiview, not children.

example of problem seeing

is there can try, diagnose this? recap, have done following:

  • the uiview added last in view hierarchy, after uiscrollview. child of same parent (the root view) scroll view - hence, sibling view of scroll view.

  • after doing layout, i've tried [self.view bringsubviewtofront:myview]

  • after doing layout, i've tried doing [myview removefromsuperview] followed [self.view addsubview:myview].

the latter 2 operations performed @ end of layout method.

any ideas?


Comments

Popular posts from this blog

python - How to insert QWidgets in the middle of a Layout? -

python - serve multiple gunicorn django instances under nginx ubuntu -

module - Prestashop displayPaymentReturn hook url -