My app uses thumbnails as preview icons for documents.
I build the thumbnail as an image, by capturing a screenshot of the UI. But I don't want the screenshot to reflect the specific layout of a particular device or orientation. It's not difficult to force the thumbnail capture to a specific fixed size. But the traits of the device still influence the appearance. So my iPhone-saved documents look different from my iPad-saved documents, thanks to size-class settings in the storyboard.
My options appear to be.
1) Programmatically adjusting everything in the UI to the standard layout. Capturing, And then undoing that change.
2) Building a parallel (hidden) device-independent view controller and storyboard, for this single purpose.
3) Rendering on a childView controller which I have forced to a set of fixed traits.
The third option appears to be the least work, but I am not succeeding in transplanting the main view to this child controller.
Any help would be warmly received!