public override void ViewDidLayoutSubviews() { base.ViewDidLayoutSubviews(); if (View.Frame.Height > iPhoneSeScreenHeight && !keyboardIsOpen) { TopConstraint.Constant = topConstraintForBiggerScreens; } LoginCard.SetupBottomCard(); GoogleSignupButton.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; } LoginCard.SetupBottomCard(); GoogleSignupButton.SetupGoogleButton(); }