Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[uikit] Duplicate bindings for 'UIScrollView.ContentOffset' to get co…
…rrect availability information. Fixes xamarin#4893 `ContentOffset` was moved to `UIFocusItemScrollableContainer` in iOS 12. Since it's a new protocol it's decorated as introduced in iOS 12 - but the API was actually already available for a long time. The _trick_ is to keep the original binding inside `UIScrollView` so it overrides the protocol and keeps the correct availability info. It requires adding `new` to bindings to avoid compiler warnings. reference: xamarin#4893
- Loading branch information