public override void ViewDidLoad() { base.ViewDidLoad(); NavBar.Delegate = this; NoveltyList.Delegate = this; NoveltyList.DataSource = this; SelfView.FacesDetected += OnFacesDetected; SelfView.FacesRemoved += OnFacesRemoved; CallView.AddGestureRecognizer(TapRecognizer); UpdateViews(); }
void ReleaseDesignerOutlets() { if (CallButton != null) { CallButton.Dispose(); CallButton = null; } if (CallView != null) { CallView.Dispose(); CallView = null; } if (NavBar != null) { NavBar.Dispose(); NavBar = null; } if (NoveltyBottomConstraint != null) { NoveltyBottomConstraint.Dispose(); NoveltyBottomConstraint = null; } if (NoveltyLeadingConstraint != null) { NoveltyLeadingConstraint.Dispose(); NoveltyLeadingConstraint = null; } if (NoveltyList != null) { NoveltyList.Dispose(); NoveltyList = null; } if (SelfView != null) { SelfView.Dispose(); SelfView = null; } if (TapRecognizer != null) { TapRecognizer.Dispose(); TapRecognizer = null; } }