UISplitViewController 与 MonoTouch.Dialog
使用带有 MonoTouch.Dialog (DialogViewController) 的 UISplitViewController 我在使用导航控制器的“后退”按钮时遇到问题:
https://i.sstatic.net/LeykT.png
细节侧从上到下垂直有一个大动画。
我将一个小的 MonoTouch 示例上传到 https://github.com/t9mike/MonoTouch-TabPlusNav1-Sample< /a>. [自从更新并修复]
我正在使用优秀的 MonoTouch.Dialog 库,也在 GitHub 上。该示例引用了此内容。
我如何为第一个选项卡创建视图控制器:
var spit_view = new MySplitViewController();
spit_view.Delegate = new UISplitViewControllerDelegate();
spit_view.ViewControllers = new UIViewController[] {
new MyNavigationController(),
new DetailViewController("Tab #1")
};
Add(UITabBarSystemItem.Search, spit_view); // custom method
弹出导航时是否有垂直动画的修复?
谢谢。
Using a UISplitViewController with MonoTouch.Dialog (DialogViewController) I am having issues when using the "back" button of the navigation controller:
https://i.sstatic.net/LeykT.png
There is a big animation on the detail side vertically from top to bottom.
I uploaded a small MonoTouch sample to https://github.com/t9mike/MonoTouch-TabPlusNav1-Sample. [Since updated with fix]
I am using the excellent MonoTouch.Dialog library, also on GitHub. The example references this.
How I am creating the view controller for the first tab:
var spit_view = new MySplitViewController();
spit_view.Delegate = new UISplitViewControllerDelegate();
spit_view.ViewControllers = new UIViewController[] {
new MyNavigationController(),
new DetailViewController("Tab #1")
};
Add(UITabBarSystemItem.Search, spit_view); // custom method
Is there a fix for the vertical animation when I pop navigation?
Thanks.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
对于你的第一个问题:
看看:
UINavigationController 在后退按钮单击时向下滚动
请注意,您有更好的机会如果您分开问题,以获得答案(以及更快的答案):-)
For you first question:
Look at:
UINavigationController scrolls down on back button click
Note that you have a better chance to get answers (and faster ones) if you split your questions :-)