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.

How to detect whether UISwitch is on/off?

I am trying to detect when a UISwitch it on / off // .h IBOutlet UISwitch *privateSwitch; @property (nonatomic, retain) IBOutlet UISwitch *…

objective-c uiswitch
iphone setting and reading state UISwitch

I have a view in which its objects are set from a database and likewise saved to a database. The …

iphone uiswitch
Custom UISwitch with image

I need to implement a custom switch in a project. Currently what I have found is that we cannot alter …

iphone objective-c uisegmentedcontrol uiswitch
iPhone: Save boolean into Core Data

I have set up one of my core data attributes as a Boolean. Now, I need to set it, but …

iphone core-data boolean uiswitch
Changing UISwitch width and height

I am trying to change the default height and width of a UISwitch element in iOS, but unsuccessfully. Can you …

ios uiswitch
iPhone UIButton with UISwitch functionality

Is there either a way to implement UISwitch with custom graphics for the switch-states? Or as an alternative the other …

iphone uibutton uiswitch
UISwitch: Swift 3: Programmatically

How can I programmatically add a uiswitch and call an action when on and one when off? Ive been searching …

uikit swift3 uiswitch
Swift - How to set initial value for NSUserDefaults

I have a switch called soundSwitch, I am saving the state of the button using an user default as such: @…

ios swift nsuserdefaults uiswitch
Detecting a change in UISwitch

This sounds trivial but I'm noticing some weirdness. I've wired up a handler for the Value Changed event of a …

ios cocoa-touch uiswitch
How to get the value of a UISwitch?

I am a newbie iOS programmer and I have a problem. I currently work on iOS Core Data and my …

ios cocoa-touch core-data uiswitch