Become a MacRumors Supporter for $25/year with no ads, private forums, and more!

iOS Using iPad Views From iPhone/iPod Device


macrumors 65816
Original poster
Oct 21, 2011
Currently we two storyboards iPad & iPhone.

In order for us to print we generate a PDF from our View. The problem with this is that when we generate the pdf, we are giving tableview.bounds.

In theory is it possible to reference the iPad Storyboard and populate the iPad view and use that view for printing.

since we are generating tableview.bounds it comes out very congested and small on the iPhone. I would really love to use the iPad View if possible.


macrumors 68040
Sep 2, 2008
You would normally set the page size to a standard paper size, like USLETTER or A4. Then either center or scale the view into the paper size. Alternately you can build a view that is offscreen and make it whatever page size you want. There's nothing magical about the iPad size. It's just bigger than iPhone.
  • Like
Reactions: loon3y


macrumors 65816
Apr 22, 2012
The Left Coast
I would suggest creating a UITableView XIB layout file. Initialize an instance of it, draw it off screen or something and just take a screenshot of that view.

You can set the size to be whatever you want. You could even make it super high res, use huge fonts, and print at 300dpi so that it looks really good.
  • Like
Reactions: loon3y
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.