Developer defined transition between views, which gives full control to define the animations that are used when a navigation from one view controller to another occurs.
Questions tagged [custom-transition]
86 questions
74
votes
4 answers
Navigation controller custom transition animation
I've been following some tutorials to create custom animation while transitioning from one view to another.
My test project using custom segue from here works fine, but someone told me it's not encouraged anymore to do custom animation within a…

AVAVT
- 7,058
- 2
- 21
- 44
64
votes
12 answers
Navigation controller top layout guide not honored with custom transition
Short version:
I am having a problem with auto layout top layout guide when used in conjunction with custom transition and UINavigationController in iOS7. Specifically, the constraint between the top layout guide and the text view is not being…

Rob
- 415,655
- 72
- 787
- 1,044
21
votes
3 answers
UIPercentDrivenInteractiveTransition yielding extraneous animation when done
I'm using an interactive custom push transition with a UIPercentDrivenInteractiveTransition. The gesture recognizer successfully calls the interaction controller's updateInteractiveTransition. Likewise, the animation successfully completes when I…

Rob
- 415,655
- 72
- 787
- 1,044
20
votes
1 answer
How to 'cancel' view appearance transitions for custom container controller transitions
I have created a custom container controller that works similarly to a UIPageViewController so that I could implement some custom transitions & data source logic. I tried to mimic the way the new customer view controller transition APIs work in iOS…

Stuart
- 36,683
- 19
- 101
- 139
15
votes
3 answers
Expand/collapse UITableViewCell to achieve Evernote-like transition
I'm interested in achieving a transition between view controllers very similar to the transition in Evernote's iOS app:
When "Places" is tapped, it smoothly expands into what looks like UINavigationController with a green border around it. To…

Emmett
- 14,035
- 12
- 56
- 81
15
votes
6 answers
Present a transparent modal UIViewController
I'm trying to make a custom alertView (for iOS7+) on my own but I struggle with the alertView presentation.
I have a UIViewController with a black background (alpha set to 0.25f), and a alertView as subview.
When I want to show the alertView, I…

Imotep
- 2,006
- 2
- 25
- 38
14
votes
2 answers
How to present a half modal view controller over the top with iOS 7 custom transitions
How would I go about presenting a "half view" controller over the top of main view controller?
Requirements:
- Present a second view controller that slides over the top of main view controller.
- Second view controller should only show over half of…

johnsampson
- 165
- 1
- 1
- 6
10
votes
1 answer
Custom Segue VS Custom Transition
Today I tried to perform a custom segue for UINavigationController push/pop operations and I didn't find a solution.
I can obviously perform the push operation with a custom segue with no problem, but the pop operation (using the default back…

MatterGoal
- 16,038
- 19
- 109
- 186
9
votes
4 answers
Navigation Bar with different colors in every view-controller like Twitter (not with setbartintcolor)
AS you can see in the image below, Twitter use different navigation bar color for each view-controller that is pushed.
I've tried almost everything (setbackgroundimage, backgroundcolor, bartintcolor, etc) but nothing seems to work. What i think is…

Monte
- 1,018
- 8
- 15
8
votes
1 answer
Custom transition for push animation with NavigationController on iOS 9
I have a custom push transition between view controllers embedded in a UINavigationController which is working fine when built with iOS 7/8 but presents a wrong layout when built against iOS 9 SDK.
-…

Edgar
- 2,500
- 19
- 31
7
votes
1 answer
Custom View Transition without use of Storyboard segues (Swift)
I have two views I would like to make a swipe style transition accross and I have done that when there is a segue to act on but the I don't have one here so am not sure how to apply my animation class. All I have in my class is:
let stb =…

SashaZ
- 393
- 7
- 20
7
votes
1 answer
Is it possible to animate a constraint in iOS 7 custom transition
All I can seem to find in examples are using transforms or are modifying frames. Have I missed something obvious? Currently the other animations (fades) are all working fine, however the constraint stays locked in position.
A quick code…

SeanCAtkinson
- 753
- 1
- 4
- 15
4
votes
1 answer
Custom ViewController Transitions: Get ToViewController's Subview's Frame
Here's an illustration of my question:
I have StarImageViews in ViewControllers A & B that displays the same image but have different frames from each other in its ViewController.
When StarImageView in ViewController A is tapped, the app pushes a…

Ryan
- 490
- 5
- 14
3
votes
2 answers
Xcode 10: Custom Animated Transitions Stuck
My app has two View Controllers (VC A & B) and a custom transition between them.
When using a left-directional pan gesture on VC A, an interactive animated transition modally presents VC B over A sliding in from the right (right-to-left).
To dismiss…

Shai Ben-Tovim
- 892
- 8
- 20
3
votes
0 answers
iOS UINavigationController custom InteractionController not working properly when using Core Animation in the AnimationController
I have custom Animation Controllers I use for the transitions in my NavigationController, and I want to make it interactive so I've created a custom Interaction Controller and it works fine for some of them but in the ones where I use CoreAnimations…

Fady A. Ackad
- 125
- 8