Esempio n. 1
0
        public override bool FinishedLaunching(UIApplication app, NSDictionary options)
        {
            //ALWAYS enable AppCircle, and THEN start Session, THEN set Delegate

            AppCircle.SetEnabled(true);
            Analytics.StartSession(API_KEY);

            _appCircleDelegate = new AppCircleDelegate();
            AppCircle.SetAppCircleDelegate(_appCircleDelegate);

            //THENNN start regular code

            _window = new UIWindow(UIScreen.MainScreen.Bounds);
            var root = new RootViewController();
            _window.RootViewController = root;

            _window.MakeKeyAndVisible();
            return true;
        }
Esempio n. 2
0
        public override bool FinishedLaunching(UIApplication app, NSDictionary options)
        {
            //ALWAYS enable AppCircle, and THEN start Session, THEN set Delegate

            AppCircle.SetEnabled(true);
            Analytics.StartSession(API_KEY);

            _appCircleDelegate = new AppCircleDelegate();
            AppCircle.SetAppCircleDelegate(_appCircleDelegate);

            //THENNN start regular code

            _window = new UIWindow(UIScreen.MainScreen.Bounds);
            var root = new RootViewController();

            _window.RootViewController = root;

            _window.MakeKeyAndVisible();
            return(true);
        }