您的位置:首页 > 产品设计 > UI/UE

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;" />
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: