给UITextView加边框

2015-10-13  本文已影响2573人  面试小集
    _returnMoneytextView.layer.backgroundColor = [[UIColor clearColor] CGColor];
     _returnMoneytextView.layer.borderColor = [[UIColor redColor]CGColor];
    _returnMoneytextView.layer.borderWidth = 1.0;
    [_returnMoneytextView.layer setMasksToBounds:YES];
上一篇 下一篇

猜你喜欢

热点阅读