简体   繁体   中英

Close one of the device screens in assistant editor's preview mode

I'm testing an app in multiple screen sizes in Xcode's preview mode in the assistant editor. I can add devices but I haven't been able to figure out how to remove the device after I know it is aligned properly. The Main.Storyboard is on the left. You can see in the picture below that the three devices on the right are aligned properly, but now I can't get rid of them and it's a bit crowded. Right clicking doesn't work and neither does the x in the top right corner.

My question is: Is there a command or shortcut on the keyboard that allows us to get rid of that device size once we've tested it? For example, if I wanted to leave the two Iphones on the right but get rid of the Ipad? 右侧的不同设备尺寸

Been there done that... Turns out to be a really easy:

Select the view you wish to delete and press the Backspace button on your keyboard.

Done!

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM