public override void ViewWillAppear(bool animated) { base.ViewWillAppear(animated); SL.Manager.RefreshShareTemplate(Challenge.ShareTemplateURL, ShareTemplateRefreshed); //LoadChallengeData(); FBCollectionView.TranslatesAutoresizingMaskIntoConstraints = false; FBCollectionView.RemoveConstraint(FBCollectionViewAspect); FBCollectionView.AddConstraint(ChallengesConstraints.ChallengesConstantHeightConstraint(FBCollectionView, 0f)); }
void ReleaseDesignerOutlets() { if (AspectHeight != null) { AspectHeight.Dispose(); AspectHeight = null; } if (ChallengesImage != null) { ChallengesImage.Dispose(); ChallengesImage = null; } if (cnsWebViewHeight != null) { cnsWebViewHeight.Dispose(); cnsWebViewHeight = null; } if (CountOthersLbl != null) { CountOthersLbl.Dispose(); CountOthersLbl = null; } if (CountPeopleLbl != null) { CountPeopleLbl.Dispose(); CountPeopleLbl = null; } if (FBCollectionView != null) { FBCollectionView.Dispose(); FBCollectionView = null; } if (FBCollectionViewAspect != null) { FBCollectionViewAspect.Dispose(); FBCollectionViewAspect = null; } if (HeaderTextLbl != null) { HeaderTextLbl.Dispose(); HeaderTextLbl = null; } if (MainScroll != null) { MainScroll.Dispose(); MainScroll = null; } if (SubmitButton != null) { SubmitButton.Dispose(); SubmitButton = null; } if (TimeLastLbl != null) { TimeLastLbl.Dispose(); TimeLastLbl = null; } if (WebView != null) { WebView.Dispose(); WebView = null; } }