How to embed a split view controller?

I have following requirement:


The main screen is a map with search field.


Tapping on the map the app is showing a callout.


Tapping on callout I want to show split view controller

with more info about location.


Looking at Safari it is doing something similar.

When tapping on the bookmark icon a split view controller

appears where I can select favorites, etc. In landscape

the primary view controller is on the left side, tapping

on favorite link I can see the page at right.

The way how the split view controller appears it looks

like embedded in presented view controller.


From documentation I am learning that split view controller

must be always a root view controller.


Embedding split view controller in custom view controller,

I suppose I can show this custom view controller in presented view controller

and dismiss it when needed to show the map in the background if needed.


How to achieve the same functionality as in Safari?

How to embed a split view controller?
 
 
Q