uitextview的边框添加圆角

来源:互联网 发布:时光知味图片 编辑:程序博客网 时间:2024/06/05 09:24

   textView.layer.borderColor = [UIColorgrayColor].CGColor;

   textView.layer.borderWidth =1.0;

   textView.layer.cornerRadius =5.0;

    需要添加头文件:

#import <QuartzCore/QuartzCore.h>


原创粉丝点击