UITableViewCell show white background and cannot be modified on iOS7

后端 未结 14 1385
轻奢々
轻奢々 2020-11-28 18:42

I\'ve implemented a custom table view cell class that inherit from UITableViewCell. The tableview contains a background image, so I want cell\'s background to b

14条回答
  •  孤独总比滥情好
    2020-11-28 19:02

    I found that none of the above worked from XCode 5.1.1, iOS 7.1.

    If you are using Interface Builder with prototype cells, select the prototype cell, then from the attributes selector in the View section, change the Background form default to Clear Color:

    enter image description here

    This seems to work fine. None of the above code changes are needed, either--this is a pure IB solution.

提交回复
热议问题