panghaijiao / HJCornerRadius

A category for UIImageView with support for cornerRadius automatically
http://www.olinone.com/?p=484
464 stars 69 forks source link

当我切割圆角以后 为图片设置边框线 边框线还是方形而不是圆形 这是为什么啊 #6

Closed Gugogogo closed 7 years ago

panghaijiao commented 8 years ago

因为这个并没有修改view的layer,操作对象只是view,如果需要边框圆形,可以使用view.layer.corner,但是不要开启view.layer.maskBound,这样就不会出现问题了

Gugogogo commented 8 years ago

经你的提醒问题已经解决 谢谢啊

在 2016年6月17日,下午4:49,庞海礁 notifications@github.com<mailto:notifications@github.com> 写道:

因为这个并没有修改view的layer,操作对象只是view,如果需要边框圆形,可以使用view.layer.corner,但是不要开启view.layer.maskBound,这样就不会出现问题了

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/panghaijiao/HJCornerRadius/issues/6#issuecomment-226715429, or mute the threadhttps://github.com/notifications/unsubscribe/APUDD_PM_dfkWHfSRsS8_cLpU3IScIl3ks5qMl9_gaJpZM4I4JTG.