I have got a TableView inside a Navigation Controller.
By default, the TableView has edge insets set on the left and on the right. That is, the content's width in the TableView is smaller than iPhone width.
My designer wants me to have the content stretched from left to right on the iPhone without any insets.
So, I tried the following code:
UIEdgeInsets inset = UIEdgeInsetsMake(0, -10, 0, 10);
tableView.contentInset = inset;
On the left, the content is now really at the iPhone left edge. Fine. It worked.
But on the right, no setting seems to move the content to the right.
Your help is much appreciated!
Thanks a lot.