Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I change the preview device in Xcode storyboard?

As you can see from the below image

enter image description here

The storyboard preview is of some tablet device, I need to change this to the latest iphone or iphone 4s, how can I do this? Also I know about the assistant editor and how to preview on multiple devices using the assistant editor, thats not what I want, I want to change the preview in the story board itself

like image 259
Bhargav Avatar asked Apr 05 '16 05:04

Bhargav


1 Answers

You need to follow four steps.

  1. Press Cmd + Alt + Enter(return). It will show two window.
  2. Click on 'Manual' text. It will show menu with Last option as 'Preview'.
  3. Select it.

enter image description here

4.Select device type from bottom '+' button into which you want to see preview. enter image description here

like image 83
girish_pro Avatar answered Oct 30 '22 03:10

girish_pro