[英]How do I change the preview device in Xcode storyboard?
As you can see from the below image 从下图可以看出
The storyboard preview is of some tablet device, I need to change this to the latest iphone or iphone 4s, how can I do this? 故事板预览是一些平板电脑设备,我需要将其更改为最新的iphone或iphone 4s,我该怎么做? Also I know about the assistant editor and how to preview on multiple devices using the assistant editor, thats not what I want, I want to change the preview in the story board itself 我也知道助理编辑器以及如何使用助理编辑器在多个设备上预览,这不是我想要的,我想改变故事板本身的预览
You need to follow four steps. 您需要遵循四个步骤。
4.Select device type from bottom '+' button into which you want to see preview. 4.从底部的“+”按钮中选择要查看预览的设备类型。
You can open the utilities view and select the simulated size for the view controller 您可以打开实用程序视图并选择视图控制器的模拟大小
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.