struct CardDetailView_Previews: PreviewProvider {
static var previews: some View {
CardDetailView(viewModel: .init(labelLabelViewModel: LabelLabel.ViewModel(topText: "hello", bottomText: .lorem)))
.previewDevice("iPhone 14 Pro Max")
CardDetailView(viewModel: .init(labelLabelViewModel: LabelLabel.ViewModel(topText: "hello", bottomText: .lorem)))
.previewInterfaceOrientation(.landscapeLeft)
.previewDevice("iPhone 14 Pro Max")
CardDetailView(viewModel: .init(labelLabelViewModel: LabelLabel.ViewModel(topText: "hello", bottomText: .lorem)))
.previewInterfaceOrientation(.portrait)
.previewDevice("iPhone SE (3rd generation)")
CardDetailView(viewModel: .init(labelLabelViewModel: LabelLabel.ViewModel(topText: "hello", bottomText: .lorem)))
.previewInterfaceOrientation(.landscapeLeft)
.previewDevice("iPhone SE (3rd generation)")
}
}
I specified multiple versions to display. All returned to the same preview property. However, the canvas is only showing one preview view at a time. I want to see all four at the same time. Like I see on other dev's views.


