public override void ViewDidLayoutSubviews() { base.ViewDidLayoutSubviews(); if (View.Frame.Height > iPhoneSeScreenHeight && !keyboardIsOpen) { TopConstraint.Constant = topConstraintForBiggerScreens; } SignupCard.SetupBottomCard(); GoogleLoginButton.SetupGoogleButton(); }
public override void ViewDidLayoutSubviews() { base.ViewDidLayoutSubviews(); if (View.Frame.Height > iPhoneSeScreenHeight) { TopConstraint.Constant = 132; } SignupCard.SetupBottomCard(); GoogleLoginButton.SetupGoogleButton(); }
public override void ViewDidLayoutSubviews() { base.ViewDidLayoutSubviews(); if (View.Frame.Height > iPhoneSeScreenHeight && !keyboardIsOpen) { TopConstraint.Constant = topConstraintForBiggerScreens; } if (UIDevice.CurrentDevice.UserInterfaceIdiom == UIUserInterfaceIdiom.Pad && !keyboardIsOpen) { TopConstraint.Constant = View.Frame.Height / 2 - tabletFormOffset; } SignupCard.SetupBottomCard(); GoogleLoginButton.SetupGoogleButton(); }