- edited description
@available keyword is useless in fauxpas 1.7.2
Issue #116
new
Testing Code is like this(set minimum deployment target to 8.0 ):
UIScrollView* _contentPageView = [[UIScrollView alloc] init];
if (@available(iOS 11.0, *)) {
_contentPageView.contentInsetAdjustmentBehavior = UIScrollViewContentInsetAdjustmentNever;
}
it will report APIAvailability error.But in this case, it's safe.
Comments (1)
-
reporter - Log in to comment