Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SWIFT

swift rotate text 90 degrees

myButton.titleLabel?.transform = CGAffineTransform(rotationAngle: CGFloat.pi / 2)
myButton.transform = CGAffineTransform(rotationAngle: CGFloat.pi / 2)
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #swift #rotate #text #degrees
ADD COMMENT
Topic
Name
6+4 =