I have created a UISwitch
in the Interface Builder. Its default size is 51x31
I have put constraints on it to make it smaller size 33x20
It shows smaller in the Interface Builder but on runtime it does not obey to the size constraints.
Elsewhere is it told that UISwitch
is a special control and does not like to obey size constraints. Is it true?
Are there any workarounds?