Open ChrisRockC opened 6 years ago
-(void)configureiOS11Version{ if (@available(iOS 11.0, *)) { [UITableView appearance].contentInsetAdjustmentBehavior = UIScrollViewContentInsetAdjustmentNever; [UIWebView appearance].scrollView.contentInsetAdjustmentBehavior =UIScrollViewContentInsetAdjustmentNever; [UIScrollView appearance].contentInsetAdjustmentBehavior = UIScrollViewContentInsetAdjustmentNever ; [UICollectionView appearance].contentInsetAdjustmentBehavior = UIScrollViewContentInsetAdjustmentNever; } else { } }
-(void)configureiOS11Version{ if (@available(iOS 11.0, *)) { [UITableView appearance].contentInsetAdjustmentBehavior = UIScrollViewContentInsetAdjustmentNever; [UIWebView appearance].scrollView.contentInsetAdjustmentBehavior =UIScrollViewContentInsetAdjustmentNever; [UIScrollView appearance].contentInsetAdjustmentBehavior = UIScrollViewContentInsetAdjustmentNever ; [UICollectionView appearance].contentInsetAdjustmentBehavior = UIScrollViewContentInsetAdjustmentNever; } else { } }