I am learning Swift right now and I see everywhere that people have devices as their previews but I cannot figure out how to show a device. Here is my code
struct MeetingView_Previews: PreviewProvider {
static var previews: some View {
MeetingView()
.previewDevice("iPhone 11")
}
}
And here is an image of what I see. What do I do?
(The Preview on Device button at the bottom of the canvas is disabled)