//
设置多行文本输入
UITextView * signatureTV = [[ UITextView alloc ] initWithFrame : CGRectMake ( 140 , 40 , self . view . bounds . size . width - 160 , 100 )];
signatureTV . text = person. signature ;
// 设置描边宽度
signatureTV . layer . borderWidth = 0.5 ;
// 设置圆角弧度
signatureTV . layer . cornerRadius = 5 ;
// 设置描边颜色
signatureTV . layer . borderColor = [ UIColor lightGrayColor ]. CGColor ;
// 设置背景颜色
signatureTV . backgroundColor = [ UIColor colorWithRed : 68 / 255. green : 186 / 255. blue : 119 / 255. alpha : 1.0 ];
// 关闭交互 , 不可编辑
signatureTV . userInteractionEnabled = NO ;
signatureTV . font = [ UIFont systemFontOfSize : 17 ];
[view addSubview : signatureTV ];
[ signatureTV release ];
UITextView * signatureTV = [[ UITextView alloc ] initWithFrame : CGRectMake ( 140 , 40 , self . view . bounds . size . width - 160 , 100 )];
signatureTV . text = person. signature ;
// 设置描边宽度
signatureTV . layer . borderWidth = 0.5 ;
// 设置圆角弧度
signatureTV . layer . cornerRadius = 5 ;
// 设置描边颜色
signatureTV . layer . borderColor = [ UIColor lightGrayColor ]. CGColor ;
// 设置背景颜色
signatureTV . backgroundColor = [ UIColor colorWithRed : 68 / 255. green : 186 / 255. blue : 119 / 255. alpha : 1.0 ];
// 关闭交互 , 不可编辑
signatureTV . userInteractionEnabled = NO ;
signatureTV . font = [ UIFont systemFontOfSize : 17 ];
[view addSubview : signatureTV ];
[ signatureTV release ];