UITextView 一些属性的设置
self.MyShowTextView.editable = NO; self.MyShowTextView.backgroundColor = [UIColor blackColor]; self.MyShowTextView.textColor = [UIColor whiteColor]; self.MyShowTextView.text = @"今天天气不错!"; _MyShowTextView.layer.borderWidth = 0.5f; _MyShowTextView.layer.borderColor = [[UIColor whiteColor] CGColor]; [_MyShowTextView.layer setCornerRadius:7.0f];