public override void ViewDidLoad() { base.ViewDidLoad (); v = new SomeView (){Frame = View.Frame}; View.AddSubview (v); }
public override void ViewDidLoad() { base.ViewDidLoad(); v = new SomeView() { Frame = View.Frame }; View.AddSubview(v); }
public override void ViewDidLoad() { base.ViewDidLoad(); // Perform any additional setup after loading the view, typically from a nib. v = SomeView.Create(); v.Frame = View.Frame; //Uncomment this line, and comment out the AwakeFromNib method in SomeView.cs, //to set the label on a per-instance basis. // v.label.Text = "Hello from label!"; View.AddSubview(v); }
public override void ViewDidLoad () { base.ViewDidLoad (); // Perform any additional setup after loading the view, typically from a nib. v = SomeView.Create(); v.Frame = View.Frame; //Uncomment this line, and comment out the AwakeFromNib method in SomeView.cs, //to set the label on a per-instance basis. // v.label.Text = "Hello from label!"; View.AddSubview (v); }