01 2016 档案
摘要:1、确定CollectionViewCell 上要显示的内容,通常是图片(imageView)和文字(label 或者 text) 2、创建 CollectionViewCell 继承 UICollectionViewCell 3、在.m 文件夹里 定义 imageView 和 label,imag
阅读全文
摘要:1、给每个子控制器添加导航栏 /** * 初始化一个子控制器 * * @param child 需要初始化的子控制器 * @param title 标题 * @param imageName 未选中图标 * @param selectedImageName 选中的图标 */ - (void)setu
阅读全文
摘要:一、创建窗口 self.window = [[UIWindow alloc] init]; self.window.frame = [UIScreen mainScreen].bounds; // 设置窗口的根控制器 self.window.rootViewController = [[UITabB
阅读全文

浙公网安备 33010602011771号