Top "Uiswitch" questions

You use the UISwitch class to create and manage the On/Off buttons which can be seen in iOS, for example, in the preferences (Settings) for such services as Airplane Mode.

Custom On/Off Image iOS 7.0 UI Switch

In iOS 7 switches don't allow custom on/off images by default. While I can still set them in the Interface …

ios xcode uiswitch
Changing the text on a UISwitch

The UISwitch currently says ON and OFF. Can I change the text to YES and NO? Would it be hard? …

iphone uiswitch
Change color of UISwitch appwise

I am using UISwitch in iOS 3 to make a switch element in my app. It has default color set to …

iphone uiswitch
How do I disable a UISwitch?

Is this possible to disable a UISwitch? I do not mean putting it in an OFF state, I mean disabling …

iphone objective-c switch-statement uiswitch
iOS / iPhone- Hiding one button when another is clicked

I have a settings view in my app which has a couple of buttons (actually UISwitches). If the "off" setting …

iphone hide uiswitch
UISwitch set on/off Image

I want to set my Switch like this: But I try in ios9 , it does not work. I saw in …

xcode swift uiswitch
UISwitch inside custom UITableViewCell not available

I have a UISwitch inside a custom UITableViewCell (the subclass of which I call RootLabeledSwitchTableCell). The cell contains a UILabel …

iphone properties uitableview uiswitch
What does "invalid mode 'kCFRunLoopCommonModes' ..."mean?

Environment: Version 11.0 beta 3 (11M362v) Here's the full text: invalid mode 'kCFRunLoopCommonModes' provided to CFRunLoopRunSpecific - break on _CFRunLoopError_RunCalledWithInvalidMode …

uiswitch xcode11
Customize uiswitch image properly?

I have an UISwitch in my iOS 6 app, that's on and off image is customised. self.testSwitch.onImage = [UIImage imageNamed:@"…

ios xcode customization uiswitch
How to change UISwitch default color for OFF state?

I want to change the color of onTintColor in the UISwitch for the off State. The switch is in tableview …

ios uiswitch tintcolor