摘要:
用layerUITextView.layer.cornerRadius = 6;UITextView.layer.masksToBounds = YES;角度可以自己调需要注意,如果使用上面的东西的话,要加上头文件:#import <QuartzCore/QuartzCore.h>如果没加编译报错:erro:request for member 'cornerRadius' in somenthing not a structure or unionerro:request for member 'masksToBounds' in somenthi 阅读全文