• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Custom UIViewController transitions with segues
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Custom UIViewController transitions with segues


  • Subject: Custom UIViewController transitions with segues
  • From: Rick Mann <email@hidden>
  • Date: Wed, 30 Dec 2015 17:12:54 -0800

I have a UICollectionView in a UINavigationController, and I'd like to customize the transition from one to the next on push. So I set up the first VC as UIViewControllerTransitioningDelegate, and in prepareForSegue(_:sender:) set the destination VC's transitioningDelegate to self.

But my delegate methods never get called. The docs say to set modalPresentationStyle to .Custom, but that has no effect (also, it's a bit weird since this is not technically a modal presentation, is it?).

Search for solutions online turns up only custom segues, which is not really what I want.

Is it even possible to do this with segues? What am I missing?

TIA,

--
Rick Mann
email@hidden



_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden


  • Follow-Ups:
    • Re: Custom UIViewController transitions with segues
      • From: Roland King <email@hidden>
  • Prev by Date: Re: CG Error with popovers - known issue?
  • Next by Date: Re: Custom UIViewController transitions with segues
  • Previous by thread: Re: Getting the final value from an NSSlider drag
  • Next by thread: Re: Custom UIViewController transitions with segues
  • Index(es):
    • Date
    • Thread