Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Swift, Xcode - Increasing the size of a UISwitch

I am making my app 'universal' (used on iPhone and iPad) and I have found ways of increasing the size of everything except for UISwitches. Is there a way of doing so?

Any help is greatly appreciated.

like image 869
mahclark Avatar asked May 27 '15 20:05

mahclark


1 Answers

Xcode 9.2 & Swift 4

switch.transform = CGAffineTransform(scaleX: 0.75, y: 0.75)
like image 76
Khawar Islam Avatar answered Sep 24 '22 06:09

Khawar Islam