yourTextField.layer.borderColor = [[UIColor greyColor] CGColor];
yourTextField.layer.borderWidth = 1.0;
记得include <QuartzCore/QuartzCore.h>就行
yourTextField.layer.borderColor = [[UIColor greyColor] CGColor];
yourTextField.layer.borderWidth = 1.0;
记得include <QuartzCore/QuartzCore.h>就行