Enable one handed mode in iPhone 6 simulator?

一笑奈何 提交于 2019-12-19 17:15:22

问题


The iPhone 6 Plus has a "one handed mode" that Apple describes as "Keep everything within reach" on their iPhone design page.

The mode is enabled by double touching (but not pressing) the home button. When enabled the screen shrinks to roughly half its normal height.

Is there a way to enable this mode in simulator for testing how it looks and transitions?

I'm running Xcode 6 GM and have not been able to uncover anything. Worst case, can someone post the exact dimensions on device so it can be emulated via the resizable iPhone simulator?


Update: According to John Gruber's review, the feature is available on the iPhone 6 Plus and 6, and is not a "mode" so much as a momentary shortcut. Maybe since it only lasts for one tap it won't be important to do extensive testing. He shared a screenshot showing the corresponding size difference:


回答1:


The simulator doesn't seem to have this capability, but it doesn't matter since it just moves your app's entire view down and uses the home screen background to fill the top. Devs don't need to do anything to their apps in regards to it.



来源:https://stackoverflow.com/questions/25862828/enable-one-handed-mode-in-iphone-6-simulator

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!