public override void ViewDidLoad() { base.ViewDidLoad(); // Perform any additional setup after loading the view, typically from a nib. lblTitle.Text = NSBundle.MainBundle.LocalizedString("Vernacular_P0_dialog_blablacar_title", null); lblTitle.TextColor = StyleSettings.TextOnDarkColor(); lblBody1.Text = NSBundle.MainBundle.LocalizedString("Vernacular_P0_dialog_blablacar_description", null).PrepareForLabel(); lblBody1.TextColor = StyleSettings.TextOnDarkColor(); lblBody2.Text = ""; lblBody2.TextColor = StyleSettings.TextOnDarkColor(); lblBody3.Text = NSBundle.MainBundle.LocalizedString("Vernacular_P0_dialog_blablacar_action_hint", null); lblBody3.TextColor = StyleSettings.TextOnDarkColor(); btnContinue.SetTitle(NSBundle.MainBundle.LocalizedString("Vernacular_P0_dialog_blablacar_ignore", null).ToUpper(), UIControlState.Normal); btnContinue.SetTitleColor(StyleSettings.TextOnDarkColor(), UIControlState.Normal); btnContinue.BackgroundColor = StyleSettings.ThemePrimaryColor(); btnBlaBla.BackgroundColor = StyleSettings.LightGrayPressedColor(); btnBlaBla.TouchUpInside += (sender, e) => { // Open app if available, else website this.DismissViewController(true, () => { OpenBlaBlaCar(); parentVC.StartRecordingCommands(); }); }; btnContinue.TouchUpInside += (sender, e) => { // Start registration this.DismissViewController(true, parentVC.StartRecordingCommands); }; }