如何在窗体上从iOS和Android打开UIViewController

本文关键字:Android 打开 UIViewController iOS 窗体 | 更新日期: 2024-09-23 01:46:19

点击表单视图上的按钮并:

如果是iOS

从iOS故事板打开UIViewController

如果Droid

android也是如此。

事实上,我只需要iOS。。。

如何在窗体上从iOS和Android打开UIViewController

通常您只需在PCL项目中定义一些接口,并在使用DependencyService链接它们的特定平台项目中实现它。http://developer.xamarin.com/guides/cross-platform/xamarin-forms/dependency-service/