зеркало из https://github.com/xamarin/ios-samples.git
32 строки
987 B
C#
32 строки
987 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using MonoTouch.Foundation;
|
|
using MonoTouch.UIKit;
|
|
|
|
namespace CoreTelephonyDemo
|
|
{
|
|
// The UIApplicationDelegate for the application. This class is responsible for launching the
|
|
// User Interface of the application, as well as listening (and optionally responding) to
|
|
// application events from iOS.
|
|
[Register ("AppDelegate")]
|
|
public partial class AppDelegate : UIApplicationDelegate
|
|
{
|
|
CoreTelephonyDemoViewController viewController;
|
|
UIWindow window;
|
|
UINavigationController navigationController;
|
|
|
|
public override bool FinishedLaunching (UIApplication app, NSDictionary options)
|
|
{
|
|
window = new UIWindow ();
|
|
navigationController = new UINavigationController ();
|
|
viewController = new CoreTelephonyDemoViewController ();
|
|
navigationController.PushViewController (viewController, true);
|
|
window.AddSubview (navigationController.View);
|
|
window.MakeKeyAndVisible ();
|
|
return true;
|
|
}
|
|
}
|
|
}
|
|
|