Questions tagged [uikit-transitions]
18 questions
10
votes
0 answers
Why is UIKit resetting the UIViewController's UIView frame to "full screen" during a custom transition?
I'm using a custom transition to slide a view controller 2/3 off screen when - presentViewController:animated:completion: is called and slide it back again when dismissViewControllerAnimated:completion: is called.
I'm also using…

Richard Stelling
- 25,607
- 27
- 108
- 188
8
votes
2 answers
Interactive ViewController transition triggered by pinch and pan gesture recognisers simultaneously
I have two viewControllers:
ViewController1
A complex stack of sub viewcontrollers with somewhere in the middle an imageView
ViewController2
A scrollView with an imageView embedded in it
What I'm trying to achieve is a transition between the two…

Menno
- 1,232
- 12
- 23
6
votes
1 answer
UIPresentationController changes size when another view controller is displayed on top of it
I am presenting a modal view controller using UIPresentationController. I am setting the frame of presentedView less than the containView's bounds using following method:
override func frameOfPresentedViewInContainerView() -> CGRect {
let myDX =…

Vik Singh
- 1,563
- 2
- 19
- 36
4
votes
1 answer
UIViewController interactive transition - Presented view disappears when interactive dismiss is canceled
I have a demo app where I'm trying to mimic the Mail app "new message" interactive transition - you can drag down to dismiss, but if you don't drag far enough the view pops back up and the transition is cancelled. I was able to duplicate the…

Trev14
- 3,626
- 2
- 31
- 40
4
votes
1 answer
Custom modal presentation ignores preferredInterfaceOrientationForPresentation
I'm writing a custom modal presentation using iOS 8's UIPresentationController. The controller being presented has a preferred interface orientation UIInterfaceOrientationLandscapeLeft.
Upon presentation of this controller with a…

Stephane JAIS
- 1,413
- 15
- 14
4
votes
1 answer
UIViewController transition with UIScrollView reaching top to initiate transition
I am having difficulty understanding conceptually the best way of implementing the following:
I have a UIScrollview embedded within ViewControllerB that has been presented by ViewControllerA.
Once the user has scrolled to the top of the…

cohen72
- 2,830
- 29
- 44
3
votes
1 answer
iOS7 custom interactive transition, hidden back button reappears as "..." when cancelled
I have a custom interactive transition which requires me to hide the standard back button. Basically, the transition looks like a push from left-to-right rather than the standard right-to-left push we're all familiar with. That's why my back button…

bitwit
- 2,589
- 2
- 28
- 33
2
votes
0 answers
iOS 8: Transition from UINavigationController to UISplitViewController, bad animation
I'm trying to animate a transition from a UINavigationController to a UISplitViewController, but the split view controller doesn't draw correctly until the animation is finished. The navigation bars are transparent and their titles are positioned…

Leehro
- 561
- 5
- 10
2
votes
1 answer
Implementing Custom Transitions With Custom Container Controllers
I am trying to create a custom container controller within my iPhone app. I would like this container to implement custom transitions, just like the default behavior of TabBarControllers and NavigationControllers within iOS 7. I have successfully…

user3651084
- 43
- 4
1
vote
3 answers
Using a ContainerViewController, how do i add an interactive animation between child ViewControllers?
I'm trying to create a customized NavigationViewController where the Navigation bar is a swipeable bar at the top that controls the transitions (think UITabBarController but with swipe gestures not buttons). Here is a quick mockup. I apologize for…

JoeVictor
- 1,806
- 1
- 17
- 38
1
vote
1 answer
Apple Music UIKit Transitions: which API(s) should I use to accomplish this?
Apple's new Music app in iOS 9 is a beautiful app. I'm wondering how I'd go about replicating some of its features, including this beautiful transition. The playback tray slides off the bottom of the screen while the artwork itself scales down into…

Jacob Pritchett
- 380
- 1
- 5
- 14
1
vote
3 answers
iOS: How to animate a flip between two UIViews?
I am trying to animate a flip effect between a UIButton instance and a UIImageView instance. Basically it's a "flip over a playing card" effect, one side (UIImageView) is just a nice pattern and when flipped, it should show a UIButton with some…

salocinx
- 3,715
- 8
- 61
- 110
1
vote
1 answer
How to make custom transition for iOS7 that are compatible with iOS8?
I want to create a custom transition for my view controllers. I have begun to gather some information about the new API introduced in iOS7. But I have been told that this API somehow changed in iOS8. The video 214 of WWDC 2014 tackles this…

Colas
- 3,473
- 4
- 29
- 68
1
vote
0 answers
TransitionDelegate and MVVMCross
I'm trying to implement my custom transition beetween views with IUIViewControllerTransitioningDelegate. This is my TableViewController
public class TableListView : MvxTableViewController, IUIViewControllerTransitioningDelegate
{
...
[Export…

Luigi Saggese
- 5,299
- 3
- 43
- 94
0
votes
0 answers
Flipping card transition in iOS
I have followed the following guide to implement flipping card animation:
https://www.raywenderlich.com/110536/custom-uiviewcontroller-transitions
And here is the code of my animator (identical to the one on the guide):
import UIKit
class…

Daniel Rahamim
- 285
- 2
- 18