Preview SwiftUI code in Playground on different devices

后端 未结 0 341
别那么骄傲
别那么骄傲 2021-01-06 06:56

XCode with can preview SwiftUI code on Canvas for many environments and devices with the help of PreviewProvider. Like this:

struct ContentView_P         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题