xcode 使 ipad 模拟器更小

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/7265755/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-14 21:51:04  来源:igfitidea点击:

Making the ipad simulator smaller

xcodeios4iphone-sdk-3.0ios-simulator

提问by TWcode

I'm having issues viewing the iPad simulator. Is there a way to make it smaller. I have a 13" MacBook.

我在查看 iPad 模拟器时遇到问题。有没有办法让它变小。我有一台 13 英寸的 MacBook。

回答by WrightsCS

The iOS Simulator for both iPad and Retina have Scaleoptions under Window. 50%and 100%. I believe the newest versions of the Simulator introduce 75%as well. This is all the options you have as far as "making it smaller". I too have a 13" Macbook Pro, and this is as good as it is going to get for this screen size.

适用于 iPad 和 Retina 的 iOS 模拟器在Window下都有Scale选项。50%100%。我相信最新版本的模拟器也引入了75%。就“使其更小”而言,这是您拥有的所有选项。我也有一台 13 英寸的 Macbook Pro,对于这个屏幕尺寸来说,这已经足够了。

回答by Shashank Kulshrestha

You can use following commands to change the size of simulator

您可以使用以下命令更改模拟器的大小

?+ 1for 100%
?+ 2for 75%
?+ 3for 50%
?+ 4for 33%
?+ 5for 25%

?+ 1100%
?+ 275%
?+ 350%
?+ 433%
?+ 525%

Hope this will help

希望这会有所帮助

回答by Abdellah Alaoui

As of Xcode 9, you can resize it to any way you want from the corner of the simulator. It will show you the resizing cursor

从 Xcode 9 开始,您可以从模拟器的角落将其调整为您想要的任何方式。它将显示调整大小的光标

enter image description here

在此处输入图片说明