3
在我的應用程序設置窗口,我檢查,看看是否在設備運行不到的iOS 5.0和主視圖添加到窗口是這樣的:的MonoTouch:預5.0設備
if (UIDevice.CurrentDevice.CheckSystemVersion(5, 0))
window.RootViewController = tabBarController;
else
window.AddSubview(tabBarController.View);
// make the window visible
window.MakeKeyAndVisible();
我的問題是:這真的需要?我可以做到這一點始終:
window.RootViewController = tabBarController;
跟進的問題:將這項工作時的iOS(超過5.x的多)理論上出來?