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 know the UITableview row number

I have a UITableViewCell with UISwitch as accessoryview of each cell. When I change the value of the switch in …

iphone ios uitableview uiswitch
How to customize UISwitch button in iphone?

I created a UISwitch using this code... UISwitch *switch = [[UISwitch alloc]initWithFrame:CGRectMake(110, 230, 60, 60)]; [window addSubview:switchView]; [switchView release]; The created …

iphone text customization background-color uiswitch
Adding dark mode to iOS app

I am trying to add a theme to my app (a dark theme). So when the user clicks an activity …

ios swift themes uiswitch
How to prevent a UISwitch from changing state?

I have a UISwitch that is defined in an .xib file. The event that I'm connected to is "Value Changed". …

objective-c ios cocoa-touch uiswitch
How do I make a UISwitch under iOS 7 not take the background colour of the view behind it?

It looks like this whenever off: While I'd prefer more of a grey background. Do I really have to use …

ios objective-c uiview ios7 uiswitch
Is there a standard GUI toggle switch in Java?

Is there a standard implementation or library that provides a GUI toggle switch in Swing? I know Swing provides a …

java swing icons uiswitch jtogglebutton
Changing of UISwitch text in iOS 4.2

I am trying to change the text in UISwitch. The sample from the website ( Changing the text on a UISwitch ) …

xcode ios uiswitch
Add switch in UITableView cell in Swift

How can I embed a UISwitch programmatically in a tableView cell in Swift? I'm doing it like that let shareLocationSwitch = …

swift uitableview swift3 cell uiswitch
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 …

xcode swift size uiswitch
Programmatically access UISwitch size without adding component

In iOS5, it seems the width of a UISwitch has changed from 94px to 79px. I use the width of …

iphone ios ios5 uiswitch