예제 #1
0
        public override void ViewWillAppear(bool animated)
        {
            base.ViewWillAppear(animated);

            this.InternetCheck();

            var appDelegate = (AppDelegate)UIApplication.SharedApplication.Delegate;

            if (appDelegate.Logined)
            {
                this.NavigationController.PopViewController(true);
            }
            else
            {
                if (String.IsNullOrEmpty(appDelegate.GuestToken) == true)
                {
                    this.GetGuestToken();
                }
                else
                {
                    NSLogHelper.NSLog("Guest Token Stored");
                }

                this.SetSwitchs();
            }
        }
예제 #2
0
 public override void FailedToRegisterForRemoteNotifications(UIApplication application, NSError error)
 {
     NSLogHelper.NSLog($"Failed to get token, error: {error}");
 }
예제 #3
0
 public void DidEndVideoPlayback(VideoController videoController)
 {
     NSLogHelper.NSLog($"videoControllerDidEndVideoPlayback");
 }