Re: Allow tap events outside a custom UIPresentationController on iPad(iOS 8)

2015-02-01 Thread Mazzaroth M.
Thanks for the thoughtful response. I ended-up implementing a UIPopoverPresentationController and I implemented -passthroughViews. It's OK but I wish there was a way to NOT dim the views that are part of the passthroughViews arrays. Perhaps I could file a bug/request. The benefit to all of this is

Re: Allow tap events outside a custom UIPresentationController on iPad(iOS 8)

2015-01-31 Thread Mike Abdullah
Since iOS 8, custom presentations we write completely block events to the presenter. I assume Apple have done this because it’s the behaviour we’d mostly like. Besides, it matches Apple’s own presentations: Alerts ignore taps outside of the alert Action sheets treat a tap on the background area

Re: Allow tap events outside a custom UIPresentationController on iPad(iOS 8)

2015-01-29 Thread Mazzaroth M.
I forgot to add the overridden methods: - (CGRect)frameOfPresentedViewInContainerView { CGRect presentedViewFrame = CGRectZero; CGRect containerBounds = [[self containerView] bounds]; presentedViewFrame.size = [self sizeForChildContentContainer:(UIViewController *)[self presentedViewC

Allow tap events outside a custom UIPresentationController on iPad(iOS 8)

2015-01-28 Thread Mazzaroth M.
I want to have a custom `modal` appear over the Master portion of a UISplitViewController. So far, I've managed to cobble together a UIViewControllerTransitioningDelegate, a UIPresentationController subclass. chartSummaryNavigationController.transitioningDelegate = _transitioningDelegate;