button.layer.borderColor = UIColor.whiteColor().CGColor;
button.layer.borderWidth = 2;
button.layer.cornerRadius = 16;
inputTextView.layer.borderColor = UIColor(red: 60/255, green: 40/255, blue: 129/255, alpha: 1).CGColor;
inputTextView.layer.borderWidth = 1;
inputTextView.layer.cornerRadius = 16;
版权声明:本文为博主原创文章,未经博主允许不得转载。
Swift开发教程--设置圆角Button和圆角边框TextView
原文地址:http://blog.csdn.net/wanglixin1999/article/details/48024115