Reputation: 2754
In Xcode, whenever I see warnings (usually about misplaced elements) appear in the XIB / Storyboard, I have to:
Editor
-> Resolve Auto Layout Issues
-> All views in <container name>
-> Appropriate action ( For instance: Update frames
) to resolve the issues.The above method takes requires steps and a bit time consuming to me. It would be great if I could: - Resolve all warnings for ALL view controllers in a storyboard/XIB file - Even better resolve ALL warnings of all storyboard/XIB files available in the project
If you have any idea please advise. Thanks!
Upvotes: 2
Views: 305
Reputation: 2754
After trying many ways, I think for now this is the quickiest method I know:
frame for
in the text box at the bottom to filter layout issues.Command + Option + =
.That's it!
Personally I also found out that doing this way can significantly shorten the time to click through all warnings:
Command
keyoption
(or alt
) key=
keyUpvotes: 1