11_14

来源:互联网 发布:微信服务号 域名备案 编辑:程序博客网 时间:2024/04/30 21:43

两个关于图标制作的网站

APP图标制作

成套生产APP各种分辨率的网站

经过观察多款主流新闻App决定添加四项底部的Item

首页 推荐 发现 我

UIView的contentMode属性

typedef enum {//见名知意    UIViewContentModeScaleToFill,    UIViewContentModeScaleAspectFit,      // contents scaled to fit with fixed aspect. remainder is transparent    UIViewContentModeScaleAspectFill,     // contents scaled to fill with fixed aspect. some portion of content may be clipped.    UIViewContentModeRedraw,              // redraw on bounds change (calls -setNeedsDisplay)    UIViewContentModeCenter,              // contents remain same size. positioned adjusted.    UIViewContentModeTop,    UIViewContentModeBottom,    UIViewContentModeLeft,    UIViewContentModeRight,    UIViewContentModeTopLeft,    UIViewContentModeTopRight,    UIViewContentModeBottomLeft,    UIViewContentModeBottomRight,} UIViewContentMode;

macdown Screenshot

UINavigationController的层次结构

在BaseViewController中由此方法

- (UIStatusBarStyle)preferredStatusBarStyle {    //取到 栈中最顶层的 topViewController    UIViewController *vc = self.topViewController;    //给他设置style    UIStatusBarStyle style = [vc preferredStatusBarStyle];    return style;}

hidesBottomBarWhenPushed属性

介绍关于hidesBottomBarWhenPushed属性

网易客户端精简版 6的不行 以后跟着慢慢看

网易客户端精简版

今天对IOSAPP的框架有了大体的印象

一个主NavigationController(类似微信的底部)控制着各个子ViewVController然后每个子ViewController控制自己的View子ViewController的图片以及资源都在NavigationController中以数组存放且都继承自BaseViewController BaseViewController为后面的每个子ViewCntroller提供模版

0 0
原创粉丝点击