首页 > 学院 > 开发设计 > 正文

UIImageView的基本用法

2019-11-09 18:53:31
字体:
来源:转载
供稿:网友
   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, 
发表评论 共有条评论
用户名: 密码:
验证码: 匿名发表