gsdios / SDAutoLayout

One line of code to implement automatic layout. 一行代码搞定自动布局!支持Cell和Tableview高度自适应,Label和ScrollView内容自适应,致力于做最简单易用的AutoLayout库。The most easy way for autoLayout. Based on runtime.
MIT License
5.9k stars 1.28k forks source link

设置控件圆角没反应 #69

Closed liu521227 closed 8 years ago

liu521227 commented 8 years ago

如果一个view不用sdautoLayout来自适应布局,用xib布局或者用原生代码来布局,但用sd_cornerRadiusFromWidthRatio、sd_cornerRadius来设置view的圆角,没有效果。。。必须使用sdautoLayout布局的view设置圆角才有效果。。。这个问题能解决不?

gsdios commented 8 years ago

这个圆角效果是在sd布局完成后调用的,目前只能供使用SDAutoLayout布局的view来使用