Search
 
SCRIPT & CODE EXAMPLE
 

SWIFT

how to add an underline to a textField swift

var bottomLine = CALayer()
bottomLine.frame = CGRectMake(0.0, 75 - 1, 300, 1.0)
bottomLine.backgroundColor = UIColor.whiteColor().CGColor
myTextField.borderStyle = UITextBorderStyle.None
myTextField.layer.addSublayer(bottomLine)
Comment

PREVIOUS NEXT
Code Example
Swift :: init with bindings swiftui 
Swift :: swift 5 get first character of string 
Swift :: swift dictionary get key from valye 
Swift :: swift image 
Swift :: how to change background color of stackview swift 
Swift :: swift pdf thumbnail 
Swift :: swift inheritance 
Swift :: swiftui font add 
Swift :: convert image to base64 swift Ui 
Swift :: remove and element from array firebase swift 5 
Swift :: accessing tab bar item action swift 
Swift :: swift while loop 
Swift :: Swift Closure Parameters 
Swift :: latex tall parentheses 
Swift :: how to change background color swift 
Swift :: triple equals swift 
Swift :: swift hide button 
Swift :: swift apply changes after a word in string 
Swift :: compactMap 
Swift :: swift weekday component values 
Swift :: How to create a typealias? 
Swift :: Swift Print Variables and Strings together 
Swift :: change textview link color swift 
Swift :: Typealias for built-in types 
Swift :: swift 5 for loop with index <= 
Swift :: Swift Function Overloading 
Swift :: Swift Character 
Ruby :: rails get list of tables 
Ruby :: check current route rails 
Ruby :: rails task arguments 
ADD CONTENT
Topic
Content
Source link
Name
5+1 =