I currently have a regular border. I would like to only have a top and bottom border.
How do I accomplish this?
Using the UITextField<
I will suggest you put one view on the left side of the textfield and one view on the right side of the textfield to cover the left/right border.
UIView *v1 = [[UIView all] initWithFrame:CGRectMake(textfield.frame.origin.x - 5, textfield.frame.origin.y, 10, textifield.frame.size.height)];
UIView *v2 = [[UIView all] initWithFrame:CGRectMake(textfield.frame.origin.x + textfield.frame.size.with - 5, textfield.frame.origin.y, 10, textifield.frame.size.height)];