PatPatchPatrick
PatPatchPatrick

Reputation: 410

Can't set constraints for duplicated views (Xcode 11.0)

After updating Xcode to 11.0, I am having an issue where I cannot set constraints for a duplicated view in the Storyboard. Xcode is forcing me to recreate a new view from scratch in order to set the constraints on it.

I was not having this issue before updating Xcode. Has anyone else experienced this and found a way to fix this issue?

Upvotes: 4

Views: 269

Answers (1)

PatPatchPatrick
PatPatchPatrick

Reputation: 410

Nevermind I just solved it.. turns out when I duplicate a view now, it sets the "Layout" to "Translates Mask into Constraints" and I have to set it back to "Automatic". It wasn't doing this for me prior to the update.

Upvotes: 7

Related Questions