问题描述
iOS 9引入了iPad的幻灯片和拆分视图.如何在iPad模拟器上模拟这些功能?我曾尝试在iPad Air 2模拟器上从右向滑动,但是没有运气.
iOS 9 introduced slide over and split view for iPad. How do I simulate these features on an iPad simulator? I have tried swiping from right on iPad Air 2 simulator with no luck.
推荐答案
要模拟滑行:从右边缘拖动(从非常靠近边缘的点开始).
To simulate slide over: drag from the right edge (starting from a point very close to the edge).
要模拟拆分视图,请执行以下操作:点击滑盖式应用程序左侧的白色小条.
To simulate split view: tap on the small white bar on the left edge of the slide-over app.
请参见此WWDC视频.
编辑(感谢@ qix,@ Bogdan Weidmann,@ Solomon)
EDIT (Thanks to @qix, @Bogdan Weidmann, @Solomon)
支持的设备:
-
iPad Air +,Mini 2+可以滑过
iPad Air+, Mini 2+ for slide over
iPad Air 2,Mini 4,Pro都可以滑过&分割视图
iPad Air 2, Mini 4, Pro for both slide over & split view
项目要求:
-
内置iOS 9+ SDK
Built with iOS 9+ SDK
支持所有设备方向
使用启动情节提要板
这篇关于在iPad模拟器中滑行并拆分视图的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!