Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to "Update Frame" in Xcode 8

Tags:

I have updated to Xcode 8.1. Usually when I've miss-edited a Frame that has Auto Constraints, I've pressed on "Update Frame" to revoke my changes. But this option seemed to be gone since the new Update.

enter image description here

How do I update the Frame back to the Auto Constraints value now? Or is the "Update Frame" Option somewhere else now? Help is very appreciated.

like image 828
David Seek Avatar asked Oct 29 '16 21:10

David Seek


1 Answers

In Xcode 8, storyboards have been greatly improved to make what you see on the screen exactly the same as what you would see on the device when you run your app. And even though frames might update as you move things, there's a new handy standalone button to the leftmost side of the button you have selected in your question (it looks like a refresh button).

Theres's a few more options as well:

  • You can use the keyboard shortcut: Cmd + Opt + =

  • You can also look for "Update Frames", by going to the toolbar and selecting Editor -> Resolve Auto Layout Issues -> Update Frames.

like image 132
nunezve Avatar answered Sep 21 '22 08:09

nunezve