Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[UIKit] Reintroduce UIScrollView.ContentOffset. #5004

Closed
wants to merge 1 commit into from

Commits on Oct 18, 2018

  1. [UIKit] Reintroduce UIScrollView.ContentOffset.

    In iOS 12 this property was moved to a protocol, but that protocol's
    availability attributes limits it to iOS 12, not iOS 2 where this property was
    originally introduced.
    
    This is problematic, because it means we'll throw a
    PlatformNotSupportedException if someone tries to call it on 32-bit iOS.
    
    So put the property back on UIScrollView, so that the generated code ends up
    with the right availability attributes (and a correct 32-bit implementation).
    rolfbjarne committed Oct 18, 2018
    Configuration menu
    Copy the full SHA
    0c33637 View commit details
    Browse the repository at this point in the history