Re: presentationControllerForPresentedViewController(…) is called multiple times

2016-05-11 Thread Rick Mann
> On May 11, 2016, at 08:29 , Kyle Sluder wrote: > > Regardless of whether this is expected, I agree it’s inefficient. Please > file a bug report at https://bugreport.apple.com. Ah, it seems to be a false alarm. Inherited code was registering a listener three times, so the

Re: presentationControllerForPresentedViewController(…) is called multiple times

2016-05-11 Thread Kyle Sluder
On Tue, May 10, 2016, at 06:02 PM, Rick Mann wrote: > Currently, my code instantiates a new UIPresentationController subclass > each time presentationControllerForPresentedViewController(…) is called. > Unfortunately, when I present a VC, > presentationControllerForPresentedViewController(…) is

presentationControllerForPresentedViewController(…) is called multiple times

2016-05-10 Thread Rick Mann
Currently, my code instantiates a new UIPresentationController subclass each time presentationControllerForPresentedViewController(…) is called. Unfortunately, when I present a VC, presentationControllerForPresentedViewController(…) is called three times! This seems wasteful, at best, and