Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>Before iOS 5, one would've needed to display another <code>UIViewController</code> using the First Responder via a Modal presentation (and a pile of code).</p> <p>To create a popover in Xcode's Storyboard Mode (iOS 5+) use a <code>UIButton</code> or <code>UIToolbarButton</code> and create a Storyboard Segue between the button and the <code>UIViewController</code> that you want to <em>pop-over</em>.</p> <p>Creating a segue between a button and another <code>UIViewController</code> is simple. Here's how:</p> <ol> <li>Click on the button in your storyboard and <kbd>Control</kbd>+<kbd>Drag</kbd> from the button to the <code>UIViewController</code> of choice. You should see a light blue line appear that extends from the button to the tip of your mouse.</li> <li><p>After dragging the blue line to the ViewController of choice a small black menu will appear. This menu displays the different segue options. Select <code>Popover</code>.</p> <p><img src="https://i.stack.imgur.com/5Tsnm.png" alt="Popover Segue Menu"></p></li> <li><p>If everything was done correctly, this segue should be visible in the Connections Inspector when the button is selected:</p></li> </ol> <p><img src="https://i.stack.imgur.com/WHbM3.png" alt="Use Popover instead of Modal or Push"></p> <p>The <code>UIViewController</code> you create should also have a custom size that is smaller than the full screen. You can set a custom size by selecting the View Controller and setting its size property to <code>freeform</code>, or <code>master</code> (320 x 850).</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload