ModalView 与 SplitView 相比,带有过渡
我的应用程序应该显示登录模式视图,并且经过身份验证后,在 SplitView 上重定向。
现在,我正在使用更改应用程序委托中的 rootView 的方法。因此,在 loginController 中,我这样做:
[[[[UIAppDelegate window ] subviews] objectAtIndex:0] removeFromSuperview];
然后,我加载 splitViewController 并将其放置在 rootViewController 属性中。
它正在发挥作用。但我想在两种观点之间进行转换,但我完全不知道如何实现这一点。
有什么线索吗? 谢谢
My app should display a login modal view, and once authentified, redirect on a SplitView.
For now, i'm using the method that change the rootView in the app delegate. So, in the loginController, i do this :
[[[[UIAppDelegate window ] subviews] objectAtIndex:0] removeFromSuperview];
And after that, i load my splitViewController and place it in the rootViewController property.
It's working. But i would like to make a transition between the two views, and i've absolutely no idea how to make this happen.
Any clue ?
Thanks
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
看到这个问题 在 UISplitViewController 和其他视图之间切换的最佳方式控制器?
看来您应该将登录视图显示为分割视图上的模式视图
see this question Best way to switch between UISplitViewController and other view controllers?
It seems that you should show login view as a modal view over split view