summaryrefslogtreecommitdiff
path: root/Xamarin.Forms.ControlGallery.iOS/Main.cs
blob: 921c475ee73e8568d160d2f8efa74f9099dd21e1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
using System.Diagnostics;
using System;
using System.Collections.Generic;
using System.Linq;
using Xamarin.Forms.Controls;
#if __UNIFIED__
using UIKit;
using Foundation;
#else
using MonoTouch.UIKit;
using MonoTouch.Foundation;
#endif

namespace Xamarin.Forms.ControlGallery.iOS
{
	public class Application
	{
		// This is the main entry point of the application.
		static void Main (string [] args)
		{
			// if you want to use a different Application Delegate class from "AppDelegate"
			// you can specify it here.
			#if __UNIFIED__
			if (!Debugger.IsAttached)
				Insights.Initialize (App.InsightsApiKey);
			#endif
			UIApplication.Main (args, null, "AppDelegate");
		}
	}
}