Question : swift uiswitch change size
Answered by : thankful-turkey-sm2803o1z6ab
@IBOutlet weak var switchDemo: UISwitch!
override func viewDidLoad() { super.viewDidLoad() switchDemo.transform = CGAffineTransform(scaleX: 0.75, y: 0.75)
}
Source : https://stackoverflow.com/questions/48040403/resize-uiswitch-in-swift-4 | Last Update : Sun, 24 Apr 22