hi, i have an objc ipad application that use xib with zooming for adapt to the screen (until ios18) but with ipad os 26 will be displayed wrong
Your code transforms the view using a scale that is hard coded based on a fixed screen size, which I'd strongly discourage. I understand that the project "was born in 2013 with objc and xib," yet the technologies have evolved quite a lot, and you probably don't want to continue to invest your time on your current approach.
As of today, folks are recommended to use Swift + SwiftUI to create their app UI. If switching to a new programming language and UI framework is too aggressive, you might consider adopting Auto Layout in your UIKit + xib + Objective C code, which should make your app automatically adapt different screen sizes and resolutions.
Best,
——
Ziqiao Chen
Worldwide Developer Relations.