Removing storyboard from info.plist

This commit is contained in:
Amy Burns 2014-05-19 18:12:06 +01:00
Родитель 8c1d3235ea
Коммит a6b7c817a7
2 изменённых файлов: 6 добавлений и 11 удалений

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

@ -12,21 +12,18 @@ namespace ManualStoryboard
[Register ("AppDelegate")]
public partial class AppDelegate : UIApplicationDelegate
{
// class-level declarations
public override UIWindow Window {
get;
set;
}
UIWindow window;
public static UIStoryboard Storyboard = UIStoryboard.FromName ("MainStoryboard", null);
public static UIViewController initialViewController;
public override bool FinishedLaunching (UIApplication app, NSDictionary options)
{
window = new UIWindow (UIScreen.MainScreen.Bounds);
initialViewController = Storyboard.InstantiateInitialViewController () as UIViewController;
Window.RootViewController = initialViewController;
Window.MakeKeyAndVisible ();
window.RootViewController = initialViewController;
window.MakeKeyAndVisible ();
return true;
}

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

@ -1,4 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
@ -18,8 +18,6 @@
<array>
<integer>1</integer>
</array>
<key>UIMainStoryboardFile</key>
<string>MainStoryboard</string>
<key>UIRequiredDeviceCapabilities</key>
<array>
<string>armv7</string>