SwitchCell = [[UIPreferencesTableCell alloc] init]; [SwitchCell setTitle: @"Reverse Conversion"]; CSwitch = [[UISwitchControl alloc] initWithFrame: switchRect]; [CSwitch setValue: forceGridView]; [SwitchCell addSubView: CSwitch];