简体   繁体   English

UISplitViewController从右边而不是左边显示弹出框

[英]UISplitViewController display the popover from right instead of left

So I've implemented an iPad application it has a UISplitView implemented. 因此,我已经实现了一个iPad应用程序,该应用程序实现了UISplitView。 i'm using the slide gesture to show the popover controller instead of a bar button. 我正在使用滑动手势来显示弹出框控制器,而不是显示条形按钮。 the problem is that by default the popover slides in from left I want the slider to move in from the right. 问题是默认情况下,弹出框从左侧滑入,我希望滑块从右侧移入。 I've tried finding a solution to this but couldn't find anything yet so I thought i better ask this myself and see if its even possible. 我尝试过找到解决方案,但是还找不到任何东西,所以我想我最好自己问一下,看看是否可能。

I know this exists: http://mattgemmell.com/2010/07/31/mgsplitviewcontroller-for-ipad/ but im not too keen on using a 3rd party library. 我知道这存在: http : //mattgemmell.com/2010/07/31/mgsplitviewcontroller-for-ipad/,但我不太想使用第3方库。

If you know any possible solution or a work around please let me know. 如果您知道任何可能的解决方案或解决方法,请告诉我。 Thanks in advance. 提前致谢。

Guess theres no other way but to use a custom made uisplitview... In the end i had to re-design my whole app and this time I had to create a custom UISplitViewController from a scratch. 猜猜没有别的办法了,只能使用定制的uisplitview ...最后,我不得不重新设计我的整个应用程序,这次我不得不从头开始创建一个定制的UISplitViewController。

Apple should be a little more flexible with their publically 苹果在公开场合应该更加灵活一些

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM