萤石云 iOSSDK,移植跨平台相关工程
JLChen
2021-01-29 2b77dde1f45abb7ef820ce91e9aedaabe8f7e20b
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
using System;
using UIKit;
 
namespace ezxamairn.iOS
{
    public partial class AboutViewController : UIViewController
    {
        public AboutViewModel ViewModel { get; set; }
        public AboutViewController(IntPtr handle) : base(handle)
        {
            ViewModel = new AboutViewModel();
        }
 
        public override void ViewDidLoad()
        {
            base.ViewDidLoad();
 
            
 
            Title = ViewModel.Title;
 
            AppNameLabel.Text = "ezxamairn";
            VersionLabel.Text = "1.0";
            AboutTextView.Text = "This app is written in C# and native APIs using the Xamarin Platform. It shares code with its iOS, Android, & Windows versions.";
        }
 
        partial void ReadMoreButton_TouchUpInside(UIButton sender) => ViewModel.OpenWebCommand.Execute(null);
    }
}