【发布时间】:2015-08-13 02:24:59
【问题描述】:
【问题讨论】:
-
为了将来参考,请尝试使用 Shift-Command-3 获取整个屏幕截图或使用 Shift-Command-4 获取部分屏幕截图。
【问题讨论】:
如果您不打算使用它,我认为您不需要制作新的故事板。如果您希望使用情节提要,请使用 Swinny89 的答案,如果您不想使用情节提要,则可以在您的应用委托中覆盖 didFinishLaunchingWithOptions。
- (BOOL)application:(UIApplication *)application
didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
{
// Override point for customization after application launch with your first view controller
ViewController *viewController = [[ViewController alloc] init];
self.window =
[[UIWindow alloc] initWithFrame:[[UIScreen mainScreen] bounds]];
self.window.rootViewController = viewController;
[self.window makeKeyAndVisible];
return YES;
}
您还需要在常规设置中清空主界面。
【讨论】: