Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SWIFT

swift uiswitch change size

@IBOutlet weak var switchDemo: UISwitch!

override func viewDidLoad() {
    super.viewDidLoad()
   switchDemo.transform = CGAffineTransform(scaleX: 0.75, y: 0.75)
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #swift #uiswitch #change #size
ADD COMMENT
Topic
Name
2+6 =