对于指定的初始化器
UIViewController是
initWithNibName:bundle:。您应该打电话给它。
参见http://www.bignerdranch.com/blog/real-iphone-crap-2-initwithnibnamebundle-
is-the-designated-initializer-of-
uiviewcontroller/
如果您没有笔尖,请
nil输入nibName(捆绑包也是可选的)。然后,你可以在构建自定义视图
loadView或通过添加子视图
self.view中
viewDidLoad,你一样使用。



