开发者

Bring UIScrollView to foreground

I have a UIScrollView inside a cell but when the cell is selected the view disa开发者_如何学Pythonppears in the background how can I put it back to foreground. Thanks

JVPython


It's possible you aren't properly setting up your UITableViewCell so that selection doesn't cover up the cell contents. Perhaps you are adding the scrollview to the cell directly and not to the contentView of the cell?

The Apple documentation describes the layout of a cell and what happens to those elements when a cell is selected: Table View Programming Guide


Have you tried:

[self.view bringSubviewToFront:myScrollerView];
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜