11_14

两个关于图标制作的网站

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
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值