问题
On Xcode 6, it seems that the ability to set the content inset of a scroll view/table view through UIStoryboard has been taken away. See image below:

the parameters on the left are from Xcode 6, whereas the parameters on the right are from Xcode 5
Does anyone know if the parameters have moved, or are we no longer able to set the content inset through UIStoryboard? I'd really like to keep this out of my code if possible..
回答1:
You can do that by using KVC
- Select table view
- Choose Identity Inspector
- Press "+" in "User defined runtime attributes"
- Add your inset as a Rect {{10,15},{25,10}} for KeyPath contentInset
Screenshot here:
来源:https://stackoverflow.com/questions/25207927/setting-a-uitableviews-contentinset-through-storyboard-in-xcode-6