UISplitViewController 与 MonoTouch.Dialog

发布于 2024-12-12 00:47:46 字数 861 浏览 4 评论 0原文

使用带有 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

Saygoodbye 2024-12-19 00:47:46

对于你的第一个问题:

弹出导航时的垂直动画是否有修复?

看看:
UINavigationController 在后退按钮单击时向下滚动

请注意,您有更好的机会如果您分开问题,以获得答案(以及更快的答案):-)

For you first question:

Is there a fix for the vertical animation when I pop navigation?

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 :-)

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文