stripe-ios
stripe-ios copied to clipboard
Fix rotating brand view animation
Summary
I don't think UIView.transition
was intended to be used within a UIViewPropertyAnimator. We'll recreate this transition on our own by cross-fading between two UIImageViews.
Motivation
Inexplicably, this animation was breaking the background transition animation from Apple Pay to PaymentSheet when presenting as a .formSheet
on iPad.
Testing
Manually in iPad simulator, existing CI snapshot tests.