给UITextView加边框

    _returnMoneytextView.layer.backgroundColor = [[UIColor clearColor] CGColor];
     _returnMoneytextView.layer.borderColor = [[UIColor redColor]CGColor];
    _returnMoneytextView.layer.borderWidth = 1.0;
    [_returnMoneytextView.layer setMasksToBounds:YES];

你可能感兴趣的:(给UITextView加边框)