阅读背景:

UIButton上的标签类型UIButtonTypeCustom没有显示

来源:互联网 

I want to add a borderless UIButton to my view. Using the interface builder, I do this by dragging a Round Rect Button from the object library. Then, on the attributes inspector, change the Type to Custom and leave the title to "Button." Everything is okay with the interface builder. But, this is not the case with the programmatic approach. Programmatically, this is how I do it:I want to add a borderless UIButton to my view.




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: