mapbox / mapbox/mapbox-navigation-ios
[Bug]: Not being able to get only the directions component (view) from the NavigationViewController
Nobody has claimed this yet.
- Dominant language
- Swift
- Stars
- 918
- Forks
- 326
- Avg merge
- 1h 16m
- Merged PRs (30d)
- 3
Description
Mapbox Navigation SDK version
2.0.0
Steps to reproduce
Create a NavigationViewController and try to get only the topBannerView from the navigationView, this is inaccessible due to the internal access control.
Expected behavior
Being able to get all component views from the NavigationViewController (e.g: topBanner, bottomBanner, speed, etc). Or is it possible to create these views ourselves? I looked at the reference guide and tried with the InstructionsCardViewController but only got a white screen
Actual behavior
No views are accessible except the navigationMapView
Is this a one-time issue or a repeatable issue?
repeatable
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with NavigationViewController's access to topBannerView, bottomBanner, and speed components, then compare the public API with InstructionsCardViewController and navigationMapView. Done means the requested component views are publicly obtainable or the supported way to create them is documented and no longer produces the reported white screen.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- swift
- Domain
- mobile
- Issue type
- Bug
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 30/100