ios-samples/CoreLocation/AppDelegate.cs

32 строки
691 B
C#
Исходник Обычный вид История

using System;
2015-01-19 18:09:40 +03:00
using UIKit;
using Foundation;
namespace Example_CoreLocation
{
[Register("AppDelegate")]
public class AppDelegate : UIApplicationDelegate
{
#region -= declarations and properties =-
2015-01-19 18:09:40 +03:00
protected UIWindow window;
protected MainViewController mainViewController;
#endregion
2015-01-19 18:09:40 +03: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
// instantiate and load our main screen onto the window
mainViewController = new MainViewController ();
window.RootViewController = mainViewController;
2015-01-19 18:09:40 +03:00
//
return true;
}
}
}