After a bit of experimentation, I found out that the animation happens when I assign the UICalendarView's selectionBehavior property to an instance of UICalendarSelectionMultiDate (to enable multiple date selection) just before animating the changes to the UIStackView's contents. I'm not sure why that triggers an animation but I was at least able to fix my specific issue by simply assigning the new selectionBehavior in the completion block of my animation.
Topic:
UI Frameworks
SubTopic:
UIKit
Tags: