iOS appdelegate 中将自定义的视图作为启动视图

#import "RootViewController.h"

   RootViewController *rootVC=[[[RootViewController alloc] init] autorelease];
    self.window.rootViewController=rootVC;

原文地址:https://www.cnblogs.com/-ios/p/4672639.html