So I'm working in XCode 5 and iOS 7 and am trying to add editable UITextFields to a series of UITableViewCells. It all looks good on the storyboard, but when I run the app, there's no text visible in the cell and the cell doesn't allow editing.
Screenshot of how it looks in the storyboard:
In the app, it's just a couple of blank cells. Any thoughts?
please refer to UITableView with static cells does not appear
One more thing about static cells, they only work in UITableViewController. The Storyboard Editor will let you add them to a Table View object inside a regular UIViewController, but this won’t work during runtime. The reason for this is that UITableViewController provides some extra magic to take care of the data source for the static cells. Xcode even prevents you from compiling such a project with the error message: “Illegal Configuration: Static table views are only valid when embedded in UITableViewController instances”.