private void InitUI() { // Setup UI elements InitSocialButton(FacebookButton); InitSocialButton(TwitterButton); var bubbleCenterYConstraint = 0; GoButton.Layer.CornerRadius = 6; GoButton.Layer.BorderColor = ThemeManager.Instance.CurrentTheme.Disabled.ToUIColor().CGColor; GoButton.Layer.BorderWidth = 1; // Animations View.SetNeedsLayout(); TitleImageViewTopConstraint.Constant = 46; FacebookButton.Alpha = 0; TwitterButton.Alpha = 0; GoButton.Alpha = 0; SubtitleLabel.Alpha = 0; UIView.AnimateNotify(0.75, () => { View.LayoutIfNeeded(); SubtitleLabel.Alpha = 1; }, (ic) => { FacebookButton.SetNeedsLayout(); FacebookButtonCenterYConstraint.Constant = bubbleCenterYConstraint; UIView.AnimateNotify(1, 0, 0.4f, 1, 0, () => { FacebookButton.LayoutIfNeeded(); FacebookButton.Alpha = 1; }, (ic1) => { TwitterButton.SetNeedsLayout(); TwitterButtonCenterYConstraint.Constant = bubbleCenterYConstraint; UIView.AnimateNotify(1, 0, 0.4f, 1, 0, () => { TwitterButton.LayoutIfNeeded(); TwitterButton.Alpha = 1; }, (ic2) => { UIView.AnimateNotify(0.5, () => { GoButtonBottomConstraint.Constant = 26; GoButton.Alpha = 1; }, null); }); }); }); }