I’m back to programming and currently developing application for iPad. I needed something, what looked like a simplest thing – UITableView taking a portion of screen and SplitViewController
wasn’t attractive option. To my surprise non of the obvious to me
solutions worked until I’ve tried not-so-elegant reallocating of tableView.

So, in myTableViewController I created custom init function:

Obviously, you can use default or your own init function or avoid passing frame argument and hardcode dimensions right here, but the magical line is:

Well, at least it worked for me.

Leave a Reply

电子邮件地址不会被公开。 必填项已用*标注