vandadnp/iOS-8-Swift-Programming-Cookbook

PopoverTableViewController crashes with iPhone

sarvex opened this issue · 0 comments

PopoverTableViewController crashes when the + button is clicked. By default Popovers are disabled for iPhones and I have to add the following extension to run the code.

extension UIPopoverController {
    class var _popoversDisabled : Bool {
        get { return false }
    }
}

I am using Xcode 6.3