/AdaptivePopover_iOS8_Swift

Adaptive Popover using UIPopoverPresentationController, which is new feature in iOS8

Primary LanguageSwift

AdaptivePopover_iOS8_Swift

Adaptive Popover using UIPopoverPresentationController, which is new feature in iOS8

  • On iPad, popover will be popover

  • On iPhone (compact horizontal)

    • popover presentation will like a modal presentation
    • with a navigation controller
    • with a cancel button on the navigation bar
  • Add options to popover on iPhone

    • we can always show popover, or
    • we can show popover only on landscape

ScreenShot