[AUSoundTriggeredPlayingSoundMemoryBased] Setup root view controller + remove unused usings

This commit is contained in:
olegoid 2015-09-11 13:58:44 -03:00
Родитель 66fa75482d
Коммит e6d1a5e572
2 изменённых файлов: 2 добавлений и 7 удалений

Просмотреть файл

@ -49,7 +49,7 @@
<WarningLevel>4</WarningLevel>
<MtouchDebug>True</MtouchDebug>
<ConsolePause>False</ConsolePause>
<CodesignKey>iPhone Developer: Рустам Заитов (29D5LNG7M9)</CodesignKey>
<CodesignKey>iPhone Developer</CodesignKey>
<AllowUnsafeBlocks>True</AllowUnsafeBlocks>
<MtouchArch>ARMv7</MtouchArch>
<MtouchUseRefCounting>true</MtouchUseRefCounting>

Просмотреть файл

@ -1,6 +1,3 @@
using System;
using System.Collections.Generic;
using Foundation;
using UIKit;
@ -17,14 +14,12 @@ namespace AUSoundTriggeredPlayingSoundMemoryBased
// The name AppDelegate is referenced in the MainWindow.xib file.
public partial class AppDelegate : UIApplicationDelegate
{
MainView _ctr;
// This method is invoked when the application has loaded its UI and its ready to run
public override bool FinishedLaunching (UIApplication app, NSDictionary options)
{
// If you have defined a view, add it here:
// window.AddSubview (navigationController.View);
_ctr = new MainView();
window.AddSubview(_ctr.View);
window.RootViewController = new MainView ();
window.MakeKeyAndVisible ();
return true;