@available keyword is useless in fauxpas 1.7.2

Issue #116 new
HughLee created an issue

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.

Paste Image.png

Comments (1)

  1. Log in to comment