self.window.rootViewController与window addSubview二者有什么区别?
答:4.0之前用
[self.window addSubview:self.xxxxController.view]; 之后用
self.window.rootViewController = xxxxController
self.window.rootViewController = xxxxController
转载于:https://www.cnblogs.com/junxiaohu/archive/2013/04/06/3002456.html