monotouch Single View Application

创建Single View Application,在AppDelegate中启动完成以后会自动跳转到主页面上。

在不使用Storyboard的情况下,直接创建单个的xib,跳转方式如下:

static UIWindow window;

public static void Navagate(UIViewController viewController)

{

window = new UIWindow (UIScreen.MainScreen.Bounds);

window.RootViewController = viewController;

window.MakeKeyAndVisible ();

}

 

posted @ 2013-03-21 14:13  静艳  阅读(198)  评论(0编辑  收藏  举报