I was following some tutorials on YouTube. In most tutorials they are using the UIKit (Storyboard) framework. Now watching these videos they can open multiple devices to preview the work at the same time. See the following picture:
I am using Xcode 14 and I was searching for the "Preview" option or feature they are using and I cannot find it at all. I understand that I can choose any device from the bottom and I do not think it is efficient to check each device on solo view. So how to achieve opening or previewing multiple devices like the picture above?
Right now, my current Xcode version is 14.3.1. For those who want to see the Preview in the Storyboard Builder:
Adjust Editor Options
Assistant
Assistant
option on top of Xcode by clicking on Editor
. (Optional)Editor
-> Preview
. Or just type command + option + Enter
In Xcode 14.2, open Storyboard file viz. Main.storyboard. Click on Editor in Menu bar and select Assistant. This should open associated ViewController.swift file. Click on any line in the file ViewController.swift. Now, you can see the Preview option in the Editor in the Menu bar.
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