UITableView background color does not change

前端 未结 3 596
感情败类
感情败类 2021-01-07 20:30

In a model UIViewController I have the following implementation of loadView (everything is created programmatically):

- (void)loadView {

    // Add Basic Vi         


        
3条回答
  •  太阳男子
    2021-01-07 21:17

    Make sure you have the following 3 options set:

    tbView.opaque = NO;
    tbView.backgroundColor = [UIColor clearColor];
    tbView.backgroundView  = nil;
    

提交回复
热议问题