コード例 #1
0
		public override bool FinishedLaunching (UIApplication app, NSDictionary options)
		{
			window = new UIWindow (UIScreen.MainScreen.Bounds);
			
			viewController = new NotificationHubs_iOSViewController ();
			window.RootViewController = viewController;
			window.MakeKeyAndVisible ();
		
			Hub = new NotificationHub(
				"<your notification hub name>",
				"<your DefaultListenSharedAccessSignature connection string>");

			return true;
		}
コード例 #2
0
        public override bool FinishedLaunching(UIApplication app, NSDictionary options)
        {
            window = new UIWindow(UIScreen.MainScreen.Bounds);

            viewController            = new NotificationHubs_iOSViewController();
            window.RootViewController = viewController;
            window.MakeKeyAndVisible();

            Hub = new NotificationHub(
                "<your notification hub name>",
                "<your DefaultListenSharedAccessSignature connection string>");

            return(true);
        }