You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Aug 8, 2023. It is now read-only.
Repository navigation
This repository was archived by the owner on Aug 8, 2023. It is now read-only.
Add contentInsetAdjustmentBehavior property to MGLMapView #12143
In iOS 11.0, UIViewController.automaticallyAdjustsScrollViewInsets is deprecated in favor of UIScrollView.contentInsetAdjustmentBehavior. automaticallyAdjustsScrollViewInsets has always been a bit of a pain for us, versus how macOS handles the same configuration option, because it’s a property on the containing view controller instead of the view itself. (We have to crawl up the responder chain looking for the view controller just to update MGLMapView’s internal constraints.) MGLMapView should implement its own contentInsetAdjustmentBehavior property that lets the developer indicate whether the MGLMapView itself should adjust the insets automatically.
We’ll have to keep support for UIViewController.automaticallyAdjustsScrollViewInsets around until that property is removed from the (Apple) iOS SDK, in case any developer depends on the currently documented behavior.
Activity
stale commentedon Dec 11, 2018
This issue has been automatically detected as stale because it has not had recent activity and will be archived. Thank you for your contributions.
stale commentedon Jun 9, 2019
This issue has been automatically detected as stale because it has not had recent activity and will be archived. Thank you for your contributions.
stale commentedon Jul 29, 2020
This issue has been automatically detected as stale because it has not had recent activity and will be archived. Thank you for your contributions.