UITextView 边框的设置

1 导入QuartzCote框架 

#import <QuartzCore/QuartzCore.h>


2. 设置边框

        input_title.layer.borderColor = [[UIColor blackColor] colorWithAlphaComponent:.2].CGColor;
        input_title.layer.borderWidth =1.0;
        input_title.layer.cornerRadius =5.0;


你可能感兴趣的:(UITextView 边框的设置)