Hello! Tell me, I have a resized UISwitch and when inserted into the AccessoryView in UITableViewCell it floats up and does not become in the middle, and if not resized, then everything is ok. But I really need to change. Here is the code:
switchButton = [UISwitch new]; _switchButton.transform = CGAffineTransformMakeScale(0.77, 0.64); [_switchButton setOnTintColor:[UIColor colorWithPatternImage:[UIImage imageNamed:@"selectedSegmentedControlColor"]]]; self.accessoryView = _switchButton;