diff --git a/CHANGELOG.md b/CHANGELOG.md index 76853f613c6c..28dc99aabacb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -23,6 +23,7 @@ Mapbox welcomes participation and contributions from everyone. * `Expression` decoding will now fail if the operator is missing ([#650](https://github.com/mapbox/mapbox-maps-ios/pull/650)) * `PointAnnotationManager.textVariableAnchor` is now of type `[TextAnchor]?` instead of `[String]?` ([#650](https://github.com/mapbox/mapbox-maps-ios/pull/650)) * `PointAnnotationManager.textWritingMode` is now of type `[TextWritingMode]?` instead of `[String]?` ([#650](https://github.com/mapbox/mapbox-maps-ios/pull/650)) +* `BasicCameraAnimator` now keeps animators alive without the user storing the animator. ([#646](https://github.com/mapbox/mapbox-maps-ios/pull/646/)) ### Features ✨ and improvements 🏁 @@ -86,7 +87,7 @@ Mapbox welcomes participation and contributions from everyone. ## 10.0.0-rc.5 - July 28, 2021 -* Fixed an issue where `MapView` positioning wasn't correct when used in containers such as UIStackView. ([#533](https://github.com/mapbox/mapbox-maps-ios/pull/533)) +* Fixed an issue where `MapView` positioning wasn't correct when used in containers such as UIStackView. ([#533](https://github.com/mapbox/mapbox-maps-ios/pull/533)) ### Features ✨ and improvements 🏁 * Added new options to `MapSnapshotOptions` diff --git a/Sources/MapboxMaps/Foundation/Camera/CameraAnimationsManager.swift b/Sources/MapboxMaps/Foundation/Camera/CameraAnimationsManager.swift index f8dcdbd5c9cc..49fc59c5d61b 100644 --- a/Sources/MapboxMaps/Foundation/Camera/CameraAnimationsManager.swift +++ b/Sources/MapboxMaps/Foundation/Camera/CameraAnimationsManager.swift @@ -182,6 +182,9 @@ public class CameraAnimationsManager { /// Convenience to create a `BasicCameraAnimator` and will add it to a list of `BasicCameraAnimator` to track the lifecycle of that animation. /// + /// NOTE: Keep in mind the lifecycle of a `BasicCameraAnimator`. If a `BasicCameraAnimator` is destroyed, before the animation is finished, + /// the animation will be interrupted and completion handlers will not be called. + /// /// - Parameters: /// - duration: The duration of the animation, in seconds. /// - curve: The UIKit timing curve to apply to the animation.