IconFont icon indicating copy to clipboard operation
IconFont copied to clipboard

不是正方形的icon是怎样处理的

Open nonstriater opened this issue 7 years ago • 1 comments

nonstriater avatar Jun 15 '17 03:06 nonstriater

假如你要绘制一个长方形,宽高比2:1。那么把这个图形等比例缩放,使水平方向填满字体空间,垂直居中放置。展示的时候给image view设置宽高比2:1,content mode是UIViewContentModeScaleAspectFill。

JohnWong avatar Jun 19 '17 12:06 JohnWong