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
3
votes
0 answers
Open a View Controller with animation
I would like to open a View Controller with an animation with the origin Frame of a square button on the bottom right:
I would like to move the top and then the bottom of the View Controller.
I tried to implement this, but that is not that good, I…

L.Vl
- 113
- 2
- 14
3
votes
2 answers
Animating changes to presentingViewController during interactive dismissal
I'm working on a UIPresentationController subclass similar to Mail.app's open draft behavior. When a view controller is presented, it doesn't go all the way to the top and the presenting view controller scales down as if it were falling back.
The…

Brian Nickel
- 26,890
- 5
- 80
- 110
3
votes
2 answers
Custom Property animation not working on disabling animation
I am creating an android application where each fragment is bind to a custom left to right slide animation. That i achieved using Custom Property Animation(FractionLinearLayout.java class given below). My app has several Fragment, switching among…

Sachin Chandil
- 17,133
- 8
- 47
- 65
3
votes
3 answers
iOS 9 custom transition - animationControllerForDismissedController not called
I am a newbee in iOS development and recently run into this problem with customized transition in iOS 9.
I have an object conforms to UIViewControllerTransitioningDelegate protocol and implements animationControllerForDismissedController, something…

yvetterowe
- 1,239
- 7
- 20
- 34
3
votes
2 answers
Why keyboard hides when I apply custom push animation?
I have two controllers with UITextFields on them. I need a custom transition between them with the keyboard shown, alongside transition.
When I'm using the default push animation, everything is good. But if I return my transition class from…

trickster77777
- 1,198
- 2
- 19
- 30
3
votes
0 answers
Presented View Controller from custom modal presentation not autorotating in iOS7 -(BOOL)shouldAutorotate not being called properly
I have a view controller that I am presenting with a Custom Modal Presentation
myViewController.modalPresentationStyle = UIModalPresentationCustom;
myViewController.transitioningDelegate = self;
[self presentViewController:myViewController…

denvdancsk
- 3,033
- 2
- 26
- 41
3
votes
0 answers
Can you mix UIModalPresentationCurrentContext and a custom transition?
I have an app with a user interface that contains two items, each of which is its own view controller. When you decide to change one of the items, I use presentViewController:animated:completion: with UIModalPresentationCurrentContext to modally…

Becca Royal-Gordon
- 17,541
- 7
- 56
- 91
3
votes
1 answer
Ios 7 custom UINavigationController animation fails with mapView in destination controller
I am playing around with the new UIViewControllerContextTransitioning between UViewControllerinside UINavigationViewController
And what I have and what I want to achieve is quite simple but I fail somewhere
I have a MKMapView (300px * 60px) inside a…

Pedroinpeace
- 1,419
- 1
- 14
- 20
2
votes
0 answers
Custom presented UINavigationController glitches with UICollectionView's contentOffset during transition
I found a weird bug today. Here's a gif.
And for good measure an image showing it clearly.
As you can see, the UICollectionView in the topViewController gets a weird choppy offset behaviour before pushing to the next view controller.
I suspect the…

Oscar Apeland
- 6,422
- 7
- 44
- 92
2
votes
0 answers
Inconsistent keyboard notifications when presenting a view controller
I have a view controller A which is currently in editing mode, i.e. it has a text field that is currently the first responder.
Now I present view controller B from A with a custom animator:
class Animator: NSObject,…

Mischa
- 15,816
- 8
- 59
- 117
2
votes
3 answers
UINavigationBar color animation synchronized with push animation
I want to achieve smooth animation between views with a different UINavigationBar background colors. Embedded views have the same background color as UINavigationBar and I want to mimic push/pop transition animation like:
I've prepared custom…

Tomasz Pe
- 696
- 7
- 19
2
votes
0 answers
Custom Interactive Transition With Table View
I create custom push/pop interactive transition, but I can't understand how to handle this transition and table view scroll simultaneously.
For handle custom pop animation I add pan gesture
let pan = UIPanGestureRecognizer(
target:…

Ivan Vavilov
- 1,520
- 1
- 15
- 28
2
votes
0 answers
issue in using uipresentationController for custom presentation
i am using UIPresentationController for custom modal presentation for menu
this part is fine , let say i have clicked 'feedback' i am presenting another controller on top of it .
the problem is after dismissing feedback controller the size of menu…

Shaik Riyaz
- 11,204
- 7
- 53
- 70
2
votes
0 answers
How to do custom UINavigationBar transitions as seen in the Foursquare iOS app?
Does anyone know how to customize the default UINavigationBar transition animation like they did for the new foursquare app? The nav bar from first view controller slides away with the view controller instead of the default fade in effect. The nav…

CTL
- 227
- 3
- 7
2
votes
3 answers
iOS 8 custom view controller presentation: changing size of presented VC during animation
I'm writing an app with a series of cards in a table view, similar to the layout of the Google app for iOS when Google Now cards are enabled. When the user taps on a card, there should be a custom transition to a new view controller which is…

UberJason
- 3,063
- 2
- 25
- 50