Just playing with Swift UI basic app and the preview canvas is not showing even though I'm in canvas mode. App runs, and I have this little snippet what am I missing?
#if DEBUG struct ContentView_Previews : PreviewProvider { static var previews: some View { ContentView() } } #endif
The Preview Canvas If the canvas is not visible it can be displayed using the Xcode Editor -> Canvas menu option.
Maybe someone is looking for this: Editor -> Canvas (Alt + Command + Enter)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With