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];

 

posted on 2017-02-17 14:32  麦芽呀~  阅读(110)  评论(0编辑  收藏  举报