Exemplo n.º 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();
            }
        }
Exemplo n.º 2
0
 public override void FailedToRegisterForRemoteNotifications(UIApplication application, NSError error)
 {
     NSLogHelper.NSLog($"Failed to get token, error: {error}");
 }
Exemplo n.º 3
0
 public void DidEndVideoPlayback(VideoController videoController)
 {
     NSLogHelper.NSLog($"videoControllerDidEndVideoPlayback");
 }