v0.20.0
User interface
- While traveling on a numbered road, the route number is displayed in a shield beside the current road name at the bottom of the map. (#1576)
- Added the
shouldManageApplicationIdleTimerflag toNavigationViewControllerto allow applications to opt out of automaticUIApplication.isIdleTimerDisabledmanagement. (#1591) - Added various methods, properties, and initializers to
StatusView, allowing you to use it in a custom user interface. (#1612) - Added
StyleManager.automaticallyAdjustsStyleForTimeOfDay,StyleManager.delegate, andStyleManager.stylesproperties so that you can control same time-based style switching just asNavigationViewControllerdoes. (#1617) - Fixed an issue where the banner was stuck on rerouting past the reroute threshold when simulating navigation. (#1583)
- Fixed an issue where the banner appears in the wrong colors after you tap the Resume button. (#1588, #1589)
NavigationMapView’s user puck now responds to changes to the safe area insets while tracking the user’s location, matching the behavior of the map camera. (#1653)- Added
StepsViewControllerDelegateandInstructionsBannerViewDelegatewhich makes it possible to listen in on tap events that occur inStepsViewControllerandInstructionsBannerView. (#1633)
Feedback
- Added a
FeedbackViewControllerclass for soliciting feedback from the user in a custom user interface. (#1605) - Replaced
NavigationViewControllerDelegate.navigationViewControllerDidOpenFeedback(_:)withFeedbackViewControllerDelegate.feedbackViewControllerDidOpen(_:),NavigationViewControllerDelegate.navigationViewControllerDidCancelFeedback(_:)withFeedbackViewControllerDelegate.feedbackViewController(_:didSend:uuid:), andNavigationViewControllerDelegate.navigationViewController(_:didSendFeedbackAssigned:feedbackType)withFeedbackViewControllerDelegate.feedbackViewControllerDidCancel(_:). (#1605) - Fixed a crash that occurred when the end of route view controller appears, showing the keyboard. (#1599)
Other changes
- Added a
MapboxVoiceController.audioPlayerproperty. You can use this property to interrupt a spoken instruction or adjust the volume. (#1596) - Fixed a memory leak when
RouteController.isDeadReckoningEnabledis enabled. (#1624)
Documentation is available online or within Xcode.