Skip to content

适配iOS11问题:如果有用到ESPictureView的_offsetY,可能产生的问题#16

Open
faxianlei wants to merge 1 commit intoEnjoySR:masterfrom
faxianlei:master
Open

适配iOS11问题:如果有用到ESPictureView的_offsetY,可能产生的问题#16
faxianlei wants to merge 1 commit intoEnjoySR:masterfrom
faxianlei:master

Conversation

@faxianlei
Copy link

    if (@available(iOS 11.0, *)) {
        if ([self respondsToSelector:@selector(setContentInsetAdjustmentBehavior:)]) {
            self.contentInsetAdjustmentBehavior = UIScrollViewContentInsetAdjustmentNever;
        }
    }

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant