title: IOS - launch video popup from non UI class
body: <p>I am developing an SDK which will be called by some client UI. The SDK comprises various modules that perform different tasks. One of the modules, on receipt of a url, must open a video popup or equivalent to playback the video. The module itself is a normal class that does not have UI. </p>
  
  <p>While I am able to launch a UIAlertController popup from the class, when I try to launch a UIViewController to play back the video I hear audio without seeing the video. What is the suggested way of</p>
  
  <ol>
  <li>Launching a viewcontroller from a non UI class</li>
  <li>Showing the video as a popup window with controls</li>
  </ol>
  
  <p>Thanks</p>