Search code examples
iosimagescreenshotuistoryboardscene

Screenshot of Scene in UIStoryboard


Is there an easy way of taking a screenshot of a scene / uiviewcontroller in the storyboard? I know you can take a screenshot from the simulator, but I would like to take a picture from storyboard and post the image on stackoverflow.


Solution

  • Xcode doesn't have a function for creating an image of a storyboard scene.

    Use Mac OS X's built-in support for taking screen shots. The default shortcut to take a picture of a rectangle on the screen is ⌘⇧4, and it places the picture on your desktop. See this Q&A on Ask Different for more shortcuts.