- Notifications
You must be signed in to change notification settings - Fork 324
Open
Labels
bugSomething isn’t workingSomething isn’t working
Description
Mapbox Navigation SDK version
3.12.1
Steps to reproduce
This behavior was originally introduced in #519 (comment)
- Create an app that doesn't immediately user MapBox screens
- Add an arbitrary
UIViewtoUIWindow - Create constraints between this view and the window
- Instantiate
NavigationViewController - Set
NavigationViewController.showsSpeedLimits = false - This is going to cause
StyleManager.refreshAppearance(for:)call
Expected behavior
Arbitrary UIView is left untouched, still constrained to the UIWindow
Actual behavior
Any unrelated UIView that is direct child of the UIWindow gets removed, losing the constraints, and re-added back to the window.
Is this a one-time issue or a repeatable issue?
repeatable
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn’t workingSomething isn’t working