xcode - Create Clean Rounded Corners on UITextField within UITableViewCell -


I am creating a UITextField within a UITableViewCell with the edges of the goal

  UITextField * SomeTextField = [[UITextField alloc] initWithFrame: CGRectMake (165, 9, 135, 20)]; SomeTextField.backgroundColor = [UIColor white color]; SomeTextField.borderStyle = UITextBorderStyleRoundedRect;   

Is there a way to make corners area, part of the corner between the round corner and the square corner is clear so that the background color is not visible there. Any help is appreciated Lq

[Note: I answered my question, sorry, it was a lame Lq]

  // two! It gets rid of white corners: someTextField.backgroundColor = [UIColor clearColor];    

Comments