如何放大情节提要 (xcode 6)

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/25865188/
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-15 05:34:27  来源:igfitidea点击:

How to zoom in storyboard (xcode 6)

iphonexcodeinterface-builderxcode6

提问by Daniel

Since yesterday, the new Xcode6 has been released. Is it possible to zoom in the storyboard view?

从昨天开始,新的 Xcode6 已经发布。是否可以放大故事板视图?

回答by Cyrille

It's possible to zoom out on storyboard, as always.

可以像往常一样缩小故事板。

Edit: Right-click (or ctrl-click) on an empty area of your storyboard to show a contextual menu.

编辑:右键单击(或按住 ctrl 单击)故事板的空白区域以显示上下文菜单。

回答by Aaron Brager

You can zoom in and out by pinching on your trackpad.

您可以通过捏住触控板来放大和缩小。

You can also use ?+?+{and ?+?+}to zoom in and out.

您还可以使用?+ ?+{?+ ?+}来放大和缩小。

回答by A. Nony Mous

Zooming was a bit kludgey in Xcode 6 (pinch-zoom worked best for me), but it looks like zooming has changed for the better in Xcode 7.

缩放在 Xcode 6 中有点笨拙(捏缩放对我来说效果最好),但看起来缩放在 Xcode 7 中变得更好了。

In Xcode 7, if you want to zoom your storyboard you can simply use ?++to zoom in, and ?+-to zoom out.

在Xcode 7,如果你想放大你的故事板,你可以简单地用?++来放大,?+-缩小。

BTW, this is the same key combination Apple uses to zoom in/out in Safari and other apps.

顺便说一句,这与 Apple 在 Safari 和其他应用程序中用于放大/缩小的组合键相同。

回答by Daniel Popov

This is one of the sloppiest keyboard shortcuts, implemented by Apple. To get }you must hit shift, but hitting shift is a system-wide command to slow animations. I really recommend changing the shortcut in preferences.

这是 Apple 实现的最草率的键盘快捷键之一。要得到}你必须点击 shift,但点击 shift 是一个系统范围的命令来减慢动画。我真的建议更改首选项中的快捷方式。

回答by coolbeet

In my experience, in Xcode 6, the best way to zoom in/out in xib is using the new Previewfeature in assistant editor, you can just use touch pad to do normal pinch in/out to do zoom.

根据我的经验,在 Xcode 6 中,在 xib 中放大/缩小的最佳方法是使用Preview助手编辑器中的新功能,您只需使用触摸板进行正常的捏合/缩小即可进行缩放

More info here: https://developer.apple.com/library/ios/recipes/xcode_help-interface_builder/chapters/PreviewingLayouts.html

更多信息:https: //developer.apple.com/library/ios/recipes/xcode_help-interface_builder/chapters/PreviewingLayouts.html

回答by yonilevy

For anyone wondering, the zoom feature doesn't seem to exist for MacOS storyboards :( See discussion here

对于任何想知道的人来说,MacOS 故事板似乎不存在缩放功能:( 请参阅此处的讨论