The navigation map does not directly follow system dark and light modes.
Instead, the navigation-enabled map supports "normal" and "low light" modes
using
GMSNavigationLightingMode
.
Use the suggestedLightingMode
property of
GMSNavigator
and set the lighting mode based on the time of day and the device location. Set
this property both at initialization and upon changes. Any time the suggested
lighting mode changes, the
-navigator:didChangeSuggestedLightingMode:
listener method is invoked.
See Modify the navigation UI to learn how to customize these modes.