[英]C# Xamarin.IOS / MonoTouch - Toolbar Disappears
I have a Xamarin.IOS/Monotouch project with 2 views - MainView and View2. 我有一个Xamarin.IOS / Monotouch项目,具有2个视图-MainView和View2。
Any ideas on how to get around this? 关于如何解决这个问题的任何想法?
Much appreciated. 非常感激。
Check out this Xamarin tutorial ( Multi-Screened Applications ). 查看此Xamarin教程( 多屏应用程序 )。 You can download the sample project, have a look at the code and try adding a UIToolBar to the HomeScreen.
您可以下载示例项目,查看代码,然后尝试将UIToolBar添加到HomeScreen。 I did it and it works like a charm.
我做到了,它就像一种魅力。
I'd also suggest the use of a storyboard: it really simplifies dealing with the navigation. 我还建议使用情节提要:它确实简化了导航的处理。 A tutorial can be found here .
可以在这里找到教程。
Hope this helps. 希望这可以帮助。
My solution in the end was to set "ToolBar.Hidden = false;" 最后,我的解决方案是设置“ ToolBar.Hidden = false;”。 upon arriving in the view that I was pushing to.
在到达我一直坚持的观点之后。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.