UITableViewCell delete button gets covered up

后端 未结 12 1920
闹比i
闹比i 2020-12-01 08:55

UPDATE:

Thanks to information from \"Evgeny S\" I\'ve been able to determine that what is covering up the delete button is the cell background. I had the following f

12条回答
  •  难免孤独
    2020-12-01 09:08

    And one more workaround:

    - (void) layoutSubviews {
        [super layoutSubviews];
    
        if ([ [ [UIDevice currentDevice] systemVersion] compare: @"7.0" options: NSNumericSearch] != NSOrderedAscending) {
            if (iOS7 == YES) {
                self.backgroundView.frame = CGRectMake(0, self.backgroundView.frame.origin.y,
                                                       self.backgroundView.frame.size.width, self.backgroundView.frame.size.height);
        }
    }
    

提交回复
热议问题