iOS9 - UITableViewCellContentView is covering up Controls inside Cell

前端 未结 4 1716
生来不讨喜
生来不讨喜 2021-02-02 14:02

I have made a custom UITableViewCell called \"SwitchCell\" that has a switch. In iOS9 Only, using Xcode 7 beta, the Content view in the cell is on top of the switch. (See scre

4条回答
  •  栀梦
    栀梦 (楼主)
    2021-02-02 14:15

    Problem can be in .xib file for your cell. When you create cell in separate .xib, be sure to drag UITableViewCell on canvas, not UIView.

提交回复
热议问题