if ([_tableView respondsToSelector:@selector(setSectionIndexColor:)]) {
_tableView.sectionIndexBackgroundColor = [UIColor clearColor];
_tableView.sectionIndexTrackingBackgroundColor = [UIColor clearColor];
}
if ([_tableView respondsToSelector:@selector(setSectionIndexColor:)]) {
_tableView.sectionIndexBackgroundColor = [UIColor clearColor];
_tableView.sectionIndexTrackingBackgroundColor = [UIColor clearColor];
}
转载于:https://www.cnblogs.com/zzzili/p/6685231.html