iOS UIViewContentMode各类型效果
2016-05-10 20:17
477 查看
<span style="white-space:pre"> </span> @"UIViewContentModeScaleToFill", // 拉伸自适应填满整个视图 @"UIViewContentModeScaleAspectFit", // 自适应比例大小显示 @"UIViewContentModeScaleAspectFill", // 原始大小显示 @"UIViewContentModeRedraw", // 尺寸改变时重绘 @"UIViewContentModeCenter", // 中间 @"UIViewContentModeTop", // 顶部 @"UIViewContentModeBottom", // 底部 @"UIViewContentModeLeft", // 中间贴左 @"UIViewContentModeRight", // 中间贴右 @"UIViewContentModeTopLeft", // 贴左上 @"UIViewContentModeTopRight", // 贴右上 @"UIViewContentModeBottomLeft", // 贴左下 @"UIViewContentModeBottomRight", // 贴右下
<p style="margin: 5px auto; padding-top: 0px; padding-bottom: 0px; border: 0px; list-style: none; word-wrap: normal; word-break: normal; line-height: 21px; color: rgb(73, 73, 73); font-family: simsun; font-size: 14px;"> <wbr><wbr><wbr></wbr></wbr></wbr></p><img src="http://img.my.csdn.net/uploads/201211/27/1354011953_1051.png" real_src="http://img.my.csdn.net/uploads/201211/27/1354011953_1051.png" alt="" title="UIViewContentMode各类型效果" action-data="http%3A%2F%2Fimg.my.csdn.net%2Fuploads%2F201211%2F27%2F1354011953_1051.png" action-type="show-slide" style="margin: 0px; padding: 0px; border: 0px; list-style: none; color: rgb(73, 73, 73); font-family: simsun; font-size: 14px;" />
相关文章推荐
- HDU 1047 Integer Inquiry
- ./i2cdetect -y 2 Error: Can't use SMBus Quick Write command on this bus
- HDU 4390 Number Sequence
- Highlighter与BooleanQuery查询
- iOS开发 - 第01篇 - UI基础 - 03 - 应用程序管理
- easyui的treegrid,只能出来父节点,子节点出不来
- iOS学习笔记之四--UIView的常见属性
- 浅谈Lucene中的DocValues
- 小米5月10日发布会--miui8
- 三种自定义UITableViewCell的方法
- POJ 2533 Longest Ordered Subsequence【最长递增子序列】【DP思想】
- iOS UIKit:TableView之表格创建(1)
- UI、ID、UE和GUI,这些都是什么
- 【康拓逆展开】HDU2062Subset sequence
- Hibernate中Caused by: java.sql.SQLException: Field 'address_id'doesn't have a default value
- UItextField实时监控输入框的文字
- UITextField的使用详解
- mongoVUE:未将对象引用设置到对象的实例
- HDU 2767 Proving Equivalences (强联通)
- vueJs源码解读0-1