UIKit flip animation bugged in 26.1

Hello. I have an 12 year old app that still has some objective-c code in it. I have a place where i have a flip animation between 2 view controllers that looks like this:

[UIView transitionFromView:origView
toView:newViewController.view
duration:0.5
options:UIViewAnimationOptionTransitionFlipFromRight
completion:nil];

It has looked like this since 2012 at least.

In our production release, it works prior to 26.1, but in 26.1 and 26.2, the flip is off-center and looks weird. it's like both edges flip the same way. It's a little bit hard to explain.

If seen at least 2 other app store apps that i have installed behave this way too, from 26.1 and onwards.

Anyone else seen this? Is there anything that can be done about it?

Thankful for thoughts.

Thanks for the post and the animation that worked for 12 years. What Xcode are you using?

Do you get the same results with just the relevant code in a small test project? If so, please share a link to your test project. That'll help us better understand what's going on. If you're not familiar with preparing a test project, take a look at Creating a test project.

This will help so I can see and test on my environment to see if something has changed and now is causing an issue.

Albert Pascual
  Worldwide Developer Relations.

I have exactly the same issue without any code changes. Even compiled with Xcode 16.4

UIKit flip animation bugged in 26.1
 
 
Q