2.6 UIView的ContentMode
2015-08-09 23:34
225 查看
视图的内容模式
contentMode 属性决定了边界变化和缩放操作
UIViewContentModeScaleAspectFill
UIViewContentModeScaleAspectFit
UIViewContentModeBottom
clipsToBounds = YES 超出范围裁剪
contentMode 属性决定了边界变化和缩放操作
UIViewContentModeScaleAspectFill
UIViewContentModeScaleAspectFit
UIViewContentModeBottom
clipsToBounds = YES 超出范围裁剪
相关文章推荐
- 2.4 UIView的基本属性和自定义
- burp suite使用(三)--- intruder收集关键信息
- The resource identified by this request is only capable of generating responses with characteristics
- UIView中的一些常用的方法
- 论文注解《Query Languages for Graph Databases》graph数据库查询语法(III)
- UIAlertView的一些使用
- Leetcode: Implement Stack using Queues
- UISearchBar去除背景颜色
- android Installation failed due to invalid URI! 错误处理
- IOS--UIImageView--帧动画
- PHP 用QueryList抓取网页内容
- UI控件
- UIWindow
- Duilib应用修改程序图标方法
- Duilib应用修改程序图标方法
- Duilib应用修改程序图标方法
- 树状数组 hdu2227 Find the nondecreasing subsequences
- hdoj 1711 Number Sequence
- (win7 UEFI安装)顺便说说UEFI、GPT和Secure Boot
- EasyUI----动态拼接EasyUI控件