Questions tagged [custom-transition]

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.

86 questions
0
votes
1 answer

Why does UIViewControllerContextTransitioning return optionals?

When is it possible for this method of UIViewControllerContextTransitioning to return nil? viewController(forKey key: UITransitionContextViewControllerKey) -> UIViewController?` method of `UIViewControllerContextTransitioning If it is possible, how…
elce
  • 264
  • 4
  • 16
0
votes
0 answers

presenting a view controller using custom transition delegate getting a black screen after completion animation

My goal here is animate a second View controller view from the top of the First view with Transperent background. I am trying to present a Second View Controller from First View Controller. Created a UIViewControllerAnimatedTransitioning sub class…
0
votes
0 answers

Framework for Custom Swipe To Go Back (Twitter Like)

I'd like to implement a custom UINavigationController pop transition. The interactive swipe to go back similar to what Twitter on iOS is doing. For some technical reasons (beyond the scope of the question), I cannot use the default behavior of the…
0
votes
1 answer

UINavigationController custom transition animation view controller alpha value

I want to make a transition, that in the end, the ToViewController alpha value will be something like 0.7, so the user still be able to see the FromViewController" at the background. Why am I doing it? because at the end of transition I need to…
0
votes
1 answer

Inside UIViewControllerAnimatedTransitioning delegate, the transitionContext.fromViewController is nil

I have a UINavigationController setup and am expecting to use a custom animation for pop / push of views with it. I have used custom transitions before without issue, but in this case I am actually finding nil values in my 'from' and 'to'…
0
votes
1 answer

iOS presenting view controller animated as 'Push' (right-left animation)

Currently, I have a view controller presenting other view controller. What I'm trying to do is to recreate the default animation used when pushing a view controller. My current approach is: FirstViewController: @IBAction private func push(sender:…
eMdOS
  • 1,693
  • 18
  • 23
0
votes
0 answers

How can I implement this navigation style used by the InList app?

I'm trying to recreate a navigation feature similar to the one used in the InList app. They have quite a nifty way of sliding from one screen to the other. Basically, the main screen is a table view with different events for a given city. Tap the…
bodacious
  • 6,608
  • 9
  • 45
  • 74
0
votes
0 answers

Custom UIViewController Transition Complications

Stumped at this one. I have a UIViewController subclass that has a panGesture added onto one of its views. This isn't the primary reason for having it subclass UIViewController; it also provides a certain aesthetic for other viewControllers to…
0
votes
1 answer

ios swift custom transition to darken fromViewController

I want to present my view controller with a custom transition so the fromViewController will be darkened as if presenting a AlertViewController. I have created my customTransition manager: func animateTransition(transitionContext:…
kalafun
  • 3,512
  • 6
  • 35
  • 49
0
votes
1 answer

UINavigationControllerDelegate methods, custom transitioning using navigation controller in ios 8

I am trying to create a custom transition when popping or pushing ti my navigation controller. I have created a transitionManager class that conforms to the UINavigationControllerDelegate. I have created the object of this transitionManager and…
kalafun
  • 3,512
  • 6
  • 35
  • 49
0
votes
3 answers

Custom transition iOS (Push/Pop)

I created a custom zoom-in transition when pushing a new viewController, and it used to work perfectly fine. Now I want to create a zoom-out effect when popping the viewController, and even-thought the final state is correct, the animation is wrong…
0
votes
1 answer

Implementing Teleport transition in Android

This question refers to the Transitions API. I am using TransitionManager.beginDelayedTransition. As I have several views changing position, I wanted to teleport some of them, because moving them doesn't look good. By teleporting I mean, making them…
lotdrops
  • 300
  • 5
  • 16
0
votes
1 answer

How do View Controller transitions happen with CGAfflineTransformIdentity

I have been trying to make my custom transition while presenting another view controller and I succeeded in two ways. One is through using CGAfflineTransformIdentity and another just by pushing the ViewController using…
LC 웃
  • 18,888
  • 9
  • 57
  • 72
0
votes
1 answer

Handle end of custom transition when not animated?

I'm using a custom transition in my app. I have an animateTransition method, which gives me a UIViewControllerContextTransitioning, and allows me to set the containerView.backgroundColor to UIColor.blackColor() in the completion of the…
Andrew
  • 7,693
  • 11
  • 43
  • 81
0
votes
1 answer

View hierarchy during a custom view transition

I'm currently using the API provided to define custom controller transition. I read the documentation provided by Apple, see the videos on WWDC and found a lots of blogs speaking about it. I have some questions on how to use those API : The…
yageek
  • 4,115
  • 3
  • 30
  • 48