简体   繁体   English

如何在xamarin中将xib设置为应用程序的第一页?

[英]How do I set an xib as the first page in my app in xamarin?

I am trying to set an xib file as the first screen in my app in the Xamarin IDE. 我正在尝试将Xib文件设置为Xamarin IDE中我的应用程序中的第一个屏幕。 How do I do this? 我该怎么做呢? Thanks in advance. 提前致谢。

也许您可以在info.plist中选择它

In Info.plist it is "Main Interface" under the Application tab, and you should have a dropdown choice of XIBs from your project. 在Info.plist中,它是“应用程序”选项卡下的“主界面”,您应该从项目中选择XIB的下拉列表。 In the Source tab, it is also listed, under "Main storyboard file base name". 在“源”选项卡中,它也在“主故事板文件库名称”下列出。 You may have to reload Info.plist after adding .xibs and .storyboards before they show up in the dropdown. 在添加.xibs和.storyboards之后,您可能必须重新加载Info.plist,然后它们才能显示在下拉列表中。

暂无
暂无

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

相关问题 Xamarin/XAML/C# - 如何设置我的 App.Current.Properties 字典? - Xamarin/XAML/C# - How do I set up my App.Current.Properties dictionary? 如果选中了Xamarin Android C#,如何将复选框重定向到应用程序中的另一个页面? - How do I redirect a checkbox to another page in my app if checked Xamarin Android C#? 如何为我的MVC页面设置路由? - How do I set up my Routing for my MVC Page? 如何获取自定义UIView XIB以在Xamarin iOS Designer中显示? - How do I get custom UIView XIB to show in the Xamarin iOS Designer? 如何在Xamarin页面上添加可以以默认样式使用的属性? - How do I add a property to my Xamarin page that I can use in a default style? 如何在 xamarin.forms 中的 viewcell 中设置按钮以从内容页面 viewmodel 调用命令? - How do I set a button in viewcell in xamarin.forms to call a command from the content page viewmodel? 如何在不使用导航的情况下在 Xamarin 应用程序中打开页面? - How can I open page in my Xamarin app without using navigation? 如何在没有C#主菜单的情况下将登录页面设置为我登陆的第一页 - how do i set the login page to be the first page i land on without the main menu in C# 如何使用Prism和Xamarin.Forms设置页面内容? - How do I set page content using Prism and Xamarin.Forms? 如何在应用程序中做教程并在 Xamarin 中首次启动时启动它? - How to do tutorial in app and launch it just on first start up in Xamarin?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM