Small (almost unnoticeable) detail, the pitch buttonās label animates in 3D thanks to some CoreAnimation trickery.
The label itself comprises of two UILabels, rotated using a CATransform3D.
When the map becomes pitched, one labelās transform3D gets reset to its identity transform, the other is rotated and translated on the Z axis, resulting in this rotating cube effect.
On the topic of SwiftUI animations, I ripped out the UIKit-based solarium visual element of my Apple Maps-inspired map controls and rebuilt it with SwiftUI.
I cannot _believe_ how easy it is to recreate the system bar button transition. Literally a few lines of code.