コード例 #1
0
        public override void ViewDidDisappear(bool animated)
        {
            base.ViewDidDisappear(animated);

            if (ParentViewController == null)
            {
                return;
            }

            if (!IsAttachedToCurrentApplication() ||
                (ParentViewController.IsBeingDismissed && ParentViewController.IsViewLoaded))
            {
                PopupNavigation.RemovePopupFromStack(_element);
            }
        }