[Bug]: Unable to adjust position of ResumeButton
mBaldasty opened this issue · 2 comments
mBaldasty commented
Mapbox Navigation SDK version
2.18.0
Steps to reproduce
Not really a bug but is it possible to move the position of the ResumeButton?
I hid the BottomBannerView and the waynamelabel and want to move towards the bottom and center.
But I cant really access the ResumeButton on the mapView or navigationMapView.
Expected behavior
Some way to adjust position of resume button.
Actual behavior
Not able to access resume button positioning.
Is this a one-time issue or a repeatable issue?
repeatable
Udumft commented
Hello, @mBaldasty! Indeed, there is no designed way to adjust ResumeButton
or similar components positions, but you could try to manually iterate over NavigationView
's children and modify it's layout.
let resumeButton = navigationView.subviews.first { subview in
subview is ResumeButton
}
// Modify resumeButton's layout constraints.
mBaldasty commented
resolved, thank you