Relative Content

Tag Archive for swiftxcodeuikitios18

Sheet presentation resets constraints from storyboard

I am trying to switch constraints in my layout. In my project I use UIKit with storyboards. For some reason, in iOS 18 simulator, form sheet presentation resets constraints which were setup in my storyboard.
I have two constraints where one of them is not installed in the storyboard. When I swap isActive state in both constraints and open a sheet, the flags switch back to their original states.

Sheet presentation resets constraints from storyboard

I am trying to switch constraints in my layout. In my project I use UIKit with storyboards. For some reason, in iOS 18 simulator, form sheet presentation resets constraints which were setup in my storyboard.
I have two constraints where one of them is not installed in the storyboard. When I swap isActive state in both constraints and open a sheet, the flags switch back to their original states.