标签:说明 技术分享 如何 this finish logs content data- his
原文:带农历日历的DatePicker控件!Xamarin控件开发小记闲来无事开发了个日期选择控件,感兴趣的同学前往:
https://github.com/MatoApps/Mato.DatePicker
AppDelegate.cs
做如下操作:public override bool FinishedLaunching(UIApplication app, NSDictionary options) { ... global::Xamarin.Forms.Forms.Init(); Mato.DatePicker.iOS.ChinaDateServer ssChinaDateServer=new Mato.DatePicker.iOS.ChinaDateServer(); //在此插入这段语句 LoadApplication(new App()); }
同样的,在引用Android安装包后,需要在MainActivity.cs
做如下操作:
protected override void OnCreate(Bundle bundle) { ... global::Xamarin.Forms.Forms.Init(this, bundle); DatePicker.Android.ChinaDateServer ssChinaDateServer = new DatePicker.Android.ChinaDateServer(); //在此插入这段语句 LoadApplication(new App()); }
带农历日历的DatePicker控件!Xamarin控件开发小记
标签:说明 技术分享 如何 this finish logs content data- his
原文地址:https://www.cnblogs.com/lonelyxmas/p/9688629.html