Questions tagged [uiviewanimationtransition]

Specifies a transition to apply to a `UIView` in an animation block.

407 questions
5
votes
1 answer

Custom view controller presentation without animation

I have some custom modal presentation and custom controller to present (subclass of UIViewController). It is it's own transitioning delegate and returns some animated transitioning object and presentation controller. I use animated transitioning…
5
votes
1 answer

Interactive transition weird blink on cancel

I am following this tutorial to learn how can I make interactive transitions for UIViewControllers. Everything works fine but I found some flickering. The first flicker I found happens when you drag the screen from right to left. This is because the…
Nicos Karalis
  • 3,724
  • 4
  • 33
  • 62
5
votes
2 answers

Understanding the value of UIViewController transitions

I am trying to learn some new iOS programming patterns. I have read a bunch about the UIViewController transitioning APIs added in iOS 7. They look cool but also feel pretty heavy for what seems like a simpler task. Consider this use case: I have…
D.C.
  • 15,340
  • 19
  • 71
  • 102
5
votes
2 answers

Transition Delegate for UITabBarController animation

I have a custom UIViewControllerAnimationTransition class created already, and need to make this animate a UITabBarController when it switches tabs. The tabBarController does not use the regular tab bar, though. I have a custom implementation that…
erdekhayser
  • 6,537
  • 2
  • 37
  • 69
5
votes
2 answers

iOS 7 custom transition issues

I am trying to implement some custom transitions on the iPad but I am getting some issues. Since the x, y coordinates do not always start on the upper left corner in the containerView of the transitionContext when the device is rotated I wrote the…
alecnash
  • 1,750
  • 1
  • 18
  • 42
5
votes
3 answers

Animating elements of views that are being transitioned to

I have a question regarding the transition in this gif: It's a beautiful app called Dark Sky. How does one start animating things in the upcoming view on the transition? Is this multiple views animating in one view controller, or multiple view…
ilteris
  • 457
  • 1
  • 7
  • 21
5
votes
4 answers

UIViewController transition - objective-c

I have UIViewControllers A and B, they are allocated in AppDelegate. I need to apply transition to them. How to transit them without reallocating and replacing UIViews? This code calls from my UIBarButtonItem in UINavigationController: [UIView…
5
votes
2 answers

objective-c: executing multiple transitionWithView animation blocks

I'm trying to make a simple Simon game (an increasing sequence of colors flash and the user has to try to repeat that sequence). The way I'm going about it is by having 4 UIViews with 8 images. So there's a UIView for red, blue, green, and yellow.…
user1494556
4
votes
1 answer

How can I do horizontal flip of two views. Please, see the picture

There are a ViewController = VC1, and two views , view1 = "A" , view2 = "B". View "A" do horizontal flip and turns to "B". How do I solve the problem? Please, see the picture.
Voloda2
  • 12,359
  • 18
  • 80
  • 130
4
votes
2 answers

Page Curl Transition Animation in iPhone Doesn't Leave Toolbar Untouched

I am attempting to mimic the partial page curl animation that can be found in the Map app that comes on the iPhone. I am able to get it to partially curl, but the toolbar curls with the curling page, which I don't want. I merely want the toolbar at…
Stunner
  • 12,025
  • 12
  • 86
  • 145
4
votes
2 answers

Custom transition in Swift 3 does not translate correctly

I've implemented a Navigation controller to incorporate an rotating-disc type of layout (imagine each VC laid out in a circle, that rotates as a whole, into view sequentially. The navigation controller is configured to use a custom transition class,…
4
votes
1 answer

UIView animation block not animation view's subviews

I am unable to achieve any animation with the following code: if (self.segmentControl.selectedSegmentIndex == 0) { [UIView transitionFromView:tableView toView:mapView duration:1.0 …
runmad
  • 14,846
  • 9
  • 99
  • 140
4
votes
1 answer

UiView.animateWithDuration Not Animating Swift

I am trying to animate show/hide of search bar using below code (The search bar should come from left and expand to right within 1-2 seconds). However, it doesn't animate and searchBar is immediately shown no matter how much time I put. I noticed…
4
votes
0 answers

UIPercentDriventInteractionController bug in iOS 7.0 only

I have implemented a custom transition for a UINavigationController that on presentation will scale the presenting view up and on dismiss will scale view controller being dismissed back down. I have also implemented percent driven interaction. I…
Darren
  • 10,091
  • 18
  • 65
  • 108
4
votes
1 answer

UIViewControllerAnimatedTransitioning UINavigationController push and pop

I've successfully implemented UIViewControllerAnimatedTransitioning on a navigationController and have a nice custom transition on iOS 7. The problem is now the navigation bar doesn't do the normal push animation for the navigation items anymore.…
devinross
  • 2,816
  • 6
  • 34
  • 34