红酒网站设计,免费网页申请,app用什么工具开发,哪些软件可以做网站一.框架搭建1.icon规格要求可从文档中查找,搜索app icon.2.因为很多界面重复利用,所以不用storyboarda.删除stroyboard,在设置中Info - Main storyboard file base name 项直接去除b.创建ZXHomeViewController(UICollectionViewController)和ZXNavigationController(UINavi…一.框架搭建1.icon规格要求可从文档中查找,搜索app icon.2.因为很多界面重复利用,所以不用storyboarda.删除stroyboard,在设置中Info - Main storyboard file base name 项直接去除b.创建ZXHomeViewController(UICollectionViewController)和ZXNavigationController(UINavigationController)c.在AppDelegate的didFinishLaunchingWithOptions添加:self.window [[UIWindow alloc] init];self.window.frame [UIScreen mainScreen].bounds;self.window.rootViewController [[ZXNavigationController alloc] initWithRootViewController:[[ZXHomeViewController alloc] init]];[self.window makeKeyAndVisible];d.在ZXHomeViewController中添加- (instancetype)init{UICollectionViewFlowLayout *layout [[UICollectionViewFlowLayout alloc] init];return [self initWithCollectionViewLayout:layout];}e.创建文件ZXConst.h来放全局的东西f.ZXHomeViewController设置背景颜色// self.view self.tableView// self.view self.collectionView.superview// 设置背景色self.collectionView.backgroundColor ZXGlobalBg;g.设置导航栏内容 (void)initialize{UINavigationBar *bar [UINavigationBar appearance];[bar setBackgroundImage:[UIImage imageNamed:bg_navigationBar_normal] forBarMetrics:UIBarMetricsDefault];}