self.tfaaa.layer.borderWidth = 2; self.tfaaa.layer.borderColor = [UIColor blueColor].CGColor; 转载于:https://www.cnblogs.com/Ewenblog/p/3884460.html