ref link:http://stackoverflow.com/questions/18932473/xcode-5-open-a-project-without-story-board
1) Remove Main.storyboard file and related view controller files linked to storyboard from your project.
2) Add new files with xib for your controller , if it is not added in compiled sources in build phases then add there manually.
3) Remove 'Main storyboard file base name' and
'Main storyboard file base name ipad' propertyfrom plist.
4) Change appdelegate didFinishLaunchingWithOptions file and add :
self.window = [[UIWindow alloc] initWithFrame:[[UIScreen mainScreen] bounds]] ;
[self.window makeKeyAndVisible];
just like :
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
{
self.window = [[UIWindow alloc] initWithFrame:[[UIScreen mainScreen] bounds]] ;
// Override point for customization after application launch.
TestViewController *test = [[TestViewController alloc] initWithNibName:@"TestViewController" bundle:nil];
UINavigationController *nav = [[UINavigationController alloc] initWithRootViewController:test];
self.window.rootViewController = nav;
[self.window makeKeyAndVisible];
return YES;
}
分享到:
相关推荐
ios通过storyboard实现helloworld显示
IOS制作启动广告图,兼容LaunchImage加载启动图和LaunchScreen启动,详细讲解可以查看博客:http://blog.csdn.net/wx_jin/article/details/50617041
看到一遍关于storyboard自定义View的文章 并未贴上完整代码 摸索着写完
使用IOS5以后新加的Storyboard创建复杂布局项目,同时结合xib文件和Storyboard共同使用
Storyboard和Xib文件生成纯手写代码,只需要将文件放在桌面,就会识别到,点击对应的生成代码到桌面,就会生成对应的Masonry纯手写代码,如果需要给控件,控制器等等设置名字,就在CustomClass里面设置就好了,代码会生成在...
Storyboard和Xib文件生成纯手写代码,只需要将文件放在桌面,就会识别到,点击对应的生成代码到桌面,就会生成对应的Masonry纯手写代码,如果需要给控件,控制器等等设置名字,就在CustomClass里面设置就好了
Storyboard是一项令人兴奋的功能,在iOS5中首次推出,在开发app的界面时可以极大地节省时间。 如下图所示,这就是一个完整的应用的storyboard,接下来我们要学习如何通过这种方式创建应用。 现 ...
NULL 博文链接:https://alan-hjkl.iteye.com/blog/1679932
ios7下storyboard的简单使用
列举了IOS StoryBoard传递参数的两种方法,包括使用prepareForSegue与广播两种方式
UICollentionView 结合 storyboard 的实现
storyboard,使用IBOutletCollection
实现iphone主界面的springboard功能和效果,图标5×4排列,点击图标,图标变为半透明
实现iphone的springboard功能和显示的效果,界面为图标5×4排列,点击图标,能实现在图标右下角添加打钩的mark
主要介绍了iOS应用使用Storyboard布局时的IBOutlet与IBAction,文中还附带讲解了为什么IBOutlet属性是weak的,需要的朋友可以参考下
算是比较详细了,包括storyboard反向传值,喜欢学习的可以看看,后续还会更新有关coredata的使用,有不同意见可以留言,谢谢了!
见博客http://blog.csdn.net/baidu_nod/article/details/32934565
NULL 博文链接:https://iaiai.iteye.com/blog/1493956
一、使用Storyboard进行跳转 1)纯Storybard界面操作 2)使用代码进行跳转 二、Storyboard界面传值 1)使用prepareForSegue方法进行跳转: 2)Storyboard Id跳转
MicrosoftWord-iOS开发教程Storyboard全解析docxiOS开发教程Storyboard全解析-第一部分故事版Storyboard是一个能够节省你很多设计手机App界面时间的新特