logicallyComplete(after:) | Apple Developer Documentation

Causes the animation to report logical completion after the specified duration, if it has not already logically completed.