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

            _bannerView = AppCircle.GetHook(AppCircleHooks.GLOBAL_APP_BANNER, 0, 0, this.View);
            AppCircleDelegate.CheckDataAvailability();
        }
コード例 #2
0
ファイル: Main.cs プロジェクト: suriyaKalidoss123/xamarin-ios
        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);
        }
コード例 #3
0
 public override void ViewDidLoad()
 {
     base.ViewDidLoad();
     AppCircleDelegate.CheckDataAvailability();
     AppCircle.OpenCatalog(AppCircleHooks.GLOBAL_CATALOG, "portrait", true);
 }
コード例 #4
0
 public override void ViewDidLoad()
 {
     base.ViewDidLoad();
     AppCircle.OpenTakeover(AppCircleHooks.GLOBAL_APP_TAKEOVER, "portrait", new UIImage(), "[TakeOver Text Goes HERE]"
                            , new NSDictionary());
 }