private static void RestoreConstraint(UIView view, NSLayoutAttribute attribute)
        {
            NSLayoutConstraint constraint = GetConstraint(view, view.Superview, attribute);

            if (constraint == null)
            {
                return;
            }

            bool shouldRemoveConstraint = constraint.Restore();

            if (shouldRemoveConstraint)
            {
                view.Superview.RemoveConstraint(constraint);
            }
        }