The Hit List Diary #10 – Embedding UITableView in a UIPageViewController

I’ve been experimenting with embedding UITableViews inside of a UIPageViewController. One issue I ran into that baffled me for a bit was having an extra gap appear at the top of my table view, only for it to disappear once I started scrolling.

I was going to post the full details of my solution here, but then came across a StackOverflow post that seemed pretty similar, and decided instead I’d post an answer which you can go read instead. (bonus: the question has a pretty picture which I’m too lazy to put together for you!)

© Mike Abdullah 2007-2015