I would like to create a UIViewController with various options, each can be enabled/disabled with a UISwitch. I'm using Xcode 5 and iOS 7 deployment target. The UITableView contains static cells. The interface is created in a storyboard.
When I'm adding a UISwitch to a cell (to it's contentView
) I get this error:
Exception while running ibtool: *** setObjectForKey: object cannot be nil (key: objectID)
Isn't it possible to add a UISwitch to a static UITableViewCell? When removing the UISwitch the error disappears.