Open jacobtimm opened 11 years ago
I am also trying to show a view (UICollectionView) on top of a table view. More precise it should show over visible part of scroll view. Currently modal view is init with frame origin (0,0).
I changed frame of modal view to:
This works the modal view is always shown over visible frame of table view. however when i scroll down to the last table cell and show the modal view there, the dismissButton is shown correctly but triggers no action.
from debugger: (lldb) po _dismissButton $0 = 0x1bba21c0 <RNCloseButton: 0x1bba21c0; baseClass = UIButton; frame = (4 359.5; 32 32); opaque = NO; layer = <CALayer: 0x1bb74ec0>> (lldb) po _dismissButton.superview $1 = 0x1bb448a0 <RNBlurModalView: 0x1bb448a0; frame = (0 357; 320 367); alpha = 0; autoresize = LM+W+TM+H; layer = <CALayer: 0x1bba17a0>> (lldb)
Any idea how to setup modal view correctly in scroll view?
Fix very much appreciated :)
Facing same problem
Have you managed to click on the dismissButton successfully, @timstudt or @jacobtimm ?
When you show the modal in a table view it works fine if no scrolling has happened yet. If the user scrolls it begins to blur a smaller and smaller portion of the screen.