Click to find out more information

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

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 61 times, 1 visits today)


Advertisement
Dan Uff
Senior Writer / Owner
https://www.compuscoop.com/

Like what you've read? Leave a comment below:

This site uses Akismet to reduce spam. Learn how your comment data is processed.