2011-10-04 03:53:30 +04:00
|
|
|
using System;
|
2015-01-19 18:09:40 +03:00
|
|
|
using UIKit;
|
|
|
|
using Foundation;
|
2011-10-04 03:53:30 +04:00
|
|
|
|
|
|
|
namespace Example_CoreLocation
|
|
|
|
{
|
|
|
|
[Register("AppDelegate")]
|
|
|
|
public class AppDelegate : UIApplicationDelegate
|
|
|
|
{
|
|
|
|
#region -= declarations and properties =-
|
2015-01-19 18:09:40 +03:00
|
|
|
|
2011-10-04 03:53:30 +04:00
|
|
|
protected UIWindow window;
|
|
|
|
protected MainViewController mainViewController;
|
|
|
|
|
|
|
|
#endregion
|
2015-01-19 18:09:40 +03:00
|
|
|
|
2011-10-04 03:53:30 +04:00
|
|
|
public override bool FinishedLaunching (UIApplication app, NSDictionary options)
|
|
|
|
{
|
|
|
|
// create our window
|
|
|
|
window = new UIWindow (UIScreen.MainScreen.Bounds);
|
|
|
|
window.MakeKeyAndVisible ();
|
2015-01-19 18:09:40 +03:00
|
|
|
|
2011-10-04 03:53:30 +04:00
|
|
|
// instantiate and load our main screen onto the window
|
|
|
|
mainViewController = new MainViewController ();
|
|
|
|
window.RootViewController = mainViewController;
|
2015-01-19 18:09:40 +03:00
|
|
|
|
2011-10-04 03:53:30 +04:00
|
|
|
//
|
|
|
|
return true;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|