Make iOS project without storyboard
来源:互联网 发布:放开那三国2等级数据 编辑:程序博客网 时间:2024/05/20 03:07
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' property from 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;}
0 0
- Make iOS project without storyboard
- ios应用程序的启动流程with or without storyboard
- iOS: using xcode 4.3 to create nav controller + tab view + table view without storyboard
- iOS: Storyboard
- iOS storyboard
- iOS StoryBoard
- a Dll project without DllMain ?
- use autotools to make project
- Make project in test flight
- iOS 5的StoryBoard
- iOS 5的StoryBoard
- iOS: storyboard (2)
- ios学习--Storyboard
- ios storyboard学习
- iOS 5的StoryBoard
- iOS 5 Storyboard 入门
- [IOS] Storyboard全解析
- iOS 5的StoryBoard
- sphinx-release 2.1.4
- cocos2dx创建精灵的五种方法
- packet_pop.h
- 谷歌眼镜开发Mirror API之API使用案例
- Google Map V3 简单操作
- Make iOS project without storyboard
- OnCtlColor
- Qt Creator文件添加助手(持续更新中...)
- FFMPEG结构体分析:AVStream
- iOS开发-strong, weak区别
- GoLang之Concurrency再讨论
- poj 2074 Line of Sight(计算几何)
- uva 11987 Almost Union-Find(带删除操作的并查集)
- oracle opatch 工具的使用(oracle小补丁安装)