SwiftUILogo

If you spend any time creating an app in SwiftUI and Xcode, then you probably use the previews pane a lot.

Thank you for reading this post, don't forget to subscribe!

You also probably know that when you tap the arrow to refresh the preview, that it will give you the latest output of the layout of the app.  What if there was a faster way to get the latest preview inside the preview pane?  There IS.

Here’s how:

  • Press the key combination: {Command} + {Option} + {P}.
  • That’s it. 

The SwiftUI Preview Pane will refresh.

About Post Author

(Visited 78 times, 1 visits today)


Advertisement


Discover more from CompuScoop.com

Subscribe to get the latest posts sent to your email.

Catch up on what you’ve missed:

Verified by MonsterInsights