зеркало из https://github.com/xamarin/ios-samples.git
[AUSoundTriggeredPlayingSoundMemoryBased] Setup root view controller + remove unused usings
This commit is contained in:
Родитель
66fa75482d
Коммит
e6d1a5e572
|
@ -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;
|
||||
|
|
Загрузка…
Ссылка в новой задаче