How to use Popovers on iPad – Part 1: Code

In this series I’ll show you how to create Popovers on iPad. They’re fairly easy to create once you get the hang of the inner workings of the UIPopoverController.

I’ll show you how to create basic Popover in code and in your Storyboard, and we’ll discuss how you can retrieve data from a Popover when it’s dismissed. We’ll do this with a simple UIDatePicker. In the last video I’ll demonstrate how you can pick images from the camera roll using the UImagePickerController with a Popover – which is how you’re meant to do it on iPad.

The series contains three videos in total:

  • Part 1 deals with the initial code and class etup
  • Part 2 deals with setting up the UIStoryboard and connect our code to it
  • and in Part 3 we’ll implement a UIImagePickerController to demonstrate a use case

Enjoy!

Get the code for this project on GitHub

Watch the full course in one convenient playlist:
Catch this episode on my iOS Dev Diary Podcast:

About Jay Versluis

Jay is a medical miracle known as Super Survivor. He runs two YouTube channels, five websites and several podcast feeds. To see what else he's up to, and to support him on his mission to make the world a better place, check out his Patreon Campaign.

One thought on “How to use Popovers on iPad – Part 1: Code

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.