Skip to content

Commit

Permalink
Fix typo in "Update Reduce Memory Usage" (#4536)
Browse files Browse the repository at this point in the history
Presumably there is a missing word "no" here

Co-authored-by: Alex Azarov <alexander.azarov@mapbox.com>
  • Loading branch information
nolastan and azarovalex authored Sep 4, 2023
1 parent c49bf33 commit 1de4051
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/guides/Reduce Memory Usage.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ The Navigation SDK tries to compensate and be as energy conscious as possible. F

# What else can the developer do?

Apps that use this SDK often begin by showing a preview map view where the route will go. Then, the user initiates navigation and the `NavigationViewController` is presented. However, the preview map is longer necessary to keep around in memory.
Apps that use this SDK often begin by showing a preview map view where the route will go. Then, the user initiates navigation and the `NavigationViewController` is presented. However, the preview map is no longer necessary to keep around in memory.

UIKit will remove `NavigationMapView` from the view hierarchy when using `UIModalPresentationStyle.fullScreen`, but if you choose to use another presentation style, you can remove the preview map view from the current view using `UIView.removeFromSuperview()`:

Expand Down

0 comments on commit 1de4051

Please sign in to comment.