Questions tagged [uitextborderstyle]

5 questions
1
vote
1 answer

Remove a sublayer from TextField

I need two functions, One to add a bottom boarder and one to remove a bottom boarder. How can I remove this boarder I have created? extension UITextField { func addBottomBorder(){ let bottomLine = CALayer() bottomLine.frame =…
user10460877
0
votes
1 answer

UIAlertController TextField BorderStyle, IOS

i created a UIAlertController and within the AlertController i added a UITextfield, and i want it without any kind of borders around. There is an image below with the borders, and i would like to delete that square border. I would like to end up…
Roy RW
  • 21
  • 5
0
votes
4 answers

Text is not properly visible in UITextField

UITextField *theLastNameTF = [[UITextField alloc]init]; theLastNameTF.borderStyle = UITextBorderStyleNone; theLastNameTF.font = [UIFont fontWithName:@"Helvetica-neue" size:24.0]; theLastNameTF.textColor = [UIColor…
Arun_
  • 1,806
  • 2
  • 20
  • 40
0
votes
2 answers

How to Change Multiple UITextField Border Style and Color

EDIT #2 It seems based on the responses I've gotten that I'm confusing people (and subsequently myself). So let's try to simplify this question some - I wish to give all TextFields in a given ViewController the…
0
votes
1 answer

UITextField UITextBorderStyleNone has lines everywhere in iOS7

I added a UITextField in Interface builder and selected UITextBorderStyleNone. However the text field has lines in it and partially around the border. See Image, the textfield in question is on the left: Prior to iOS 7 I would have expected no…
Damo
  • 12,840
  • 3
  • 51
  • 62