UITableView / UITableViewCell challenge with transparent background on iPad with iOS7

前端 未结 4 1015
死守一世寂寞
死守一世寂寞 2021-01-03 18:25

Last night I decided to upgrade to Xcode 5 and take a look at my current project. After updating my storyboards to the new UI everything looked great and ran fine. Since I

4条回答
  •  陌清茗
    陌清茗 (楼主)
    2021-01-03 19:00

    If you are using a custom UITableViewCell and invoking it from storyboard/xib you can use the following code.

    @implementation YourCustomTableViewCell
    
    - (void) awakeFromNib
    {
        self.backgroundColor = [UIColor clearColor];
    }
    

提交回复
热议问题