摘要: //初始化并定义大小 UITextView *textview = [[UITextView alloc] initWithFrame:CGRectMake(20, 10, 280, 30)]; textview.backgroundColor=[UIColor whiteColor]; //背景色 阅读全文
posted @ 2016-09-12 19:15 ma_fighting 阅读(656) 评论(0) 推荐(0)
摘要: 效果展示: 阅读全文
posted @ 2016-09-12 14:32 ma_fighting 阅读(303) 评论(0) 推荐(0)
摘要: 效果展示: 阅读全文
posted @ 2016-09-12 14:29 ma_fighting 阅读(992) 评论(0) 推荐(0)
摘要: 一、设置textView的行间距 1.如果只是静态显示textView的内容为设置的行间距,执行如下代码: // textview 改变字体的行间距 NSMutableParagraphStyle *paragraphStyle = [[NSMutableParagraphStyle alloc] 阅读全文
posted @ 2016-09-12 09:19 ma_fighting 阅读(1607) 评论(0) 推荐(0)
历史天气查