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

            DidEnterBackgroundToken?.Dispose();
            DidEnterBackgroundToken = null;

            WillEnterForgroundToken?.Dispose();
            WillEnterForgroundToken = null;

            DesignChangedToken?.Dispose();
            DesignChangedToken = null;
        }
        public override void ViewWillLayoutSubviews()
        {
            base.ViewWillLayoutSubviews();

            if (FlyingObjects != null)
                FlyingObjects.Frame = View.Frame;
        }
        void StartFlyingObjectsView()
コード例 #2
0
        protected override void Dispose(bool disposing)
        {
            base.Dispose(disposing);
            if (disposing)
            {
                FlyingObjects?.Dispose();
                FlyingObjects = null;

                ContainerNavigationController?.Dispose();
                ContainerNavigationController = null;

                DidEnterBackgroundToken?.Dispose();
                DidEnterBackgroundToken = null;

                WillEnterForgroundToken?.Dispose();
                WillEnterForgroundToken = null;

                DesignChangedToken?.Dispose();
                DesignChangedToken = null;
            }
        }


       
        void ShowBanner(Dictionary<string, string> advertisingTargetInfo)