Skip to content

Commit

Permalink
Update date picker on iOS
Browse files Browse the repository at this point in the history
  • Loading branch information
nCastle1 committed Oct 17, 2018
1 parent bf9c9e5 commit 32d2d9c
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ public override void LoadView()
stackView.AddArrangedSubview(startLabel);

StartPicker.TranslatesAutoresizingMaskIntoConstraints = false;
StartPicker.Mode = UIDatePickerMode.Date;
stackView.AddArrangedSubview(StartPicker);

UILabel endLabel = new UILabel();
Expand All @@ -57,6 +58,7 @@ public override void LoadView()
stackView.AddArrangedSubview(endLabel);

EndPicker.TranslatesAutoresizingMaskIntoConstraints = false;
EndPicker.Mode = UIDatePickerMode.Date;
stackView.AddArrangedSubview(EndPicker);

// Spacing.
Expand Down

0 comments on commit 32d2d9c

Please sign in to comment.