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

UIImageView的基本用法

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