Questions tagged [uiviewanimationtransition]

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

407 questions
7
votes
3 answers

Is there a way to use UIViewAnimationOptionTransitionCurlUp without it animating the entire screen?

I have a view controller that has the following hierarchy: UIViewController | |-view     |-presentView (UIView)     |-stagedView (UIView)     |-UIToolbar I am using the transitionFromView:toView:duration:options:completion: method to animate a page…
Wayne Hartman
  • 18,369
  • 7
  • 84
  • 116
7
votes
2 answers

On iOS10 snapshotView takes snapshot before the view is completely rendered

I have fully transparent a table and navigation controllers. Because of this, when pushing new view controllers the animation was broken. Therefore I added my own custom push transition which takes snapshot of the next view controller and animates…
7
votes
3 answers

Change RootViewcontroller with the Push Transition effect

in my iOS App i need to change the rootviewController of the window in between of app .so when i change my rootviewcontroller dyncamically its flicking the view before its change.but what i want is to give a smooth transition when rootviewcontroller…
BhavikKama
  • 8,566
  • 12
  • 94
  • 164
7
votes
1 answer

UIViewControllerAnimatedTransitioning with a MPMoviePlayerViewController

I'm trying to do a custom presentation animation but the VC is an MPMoviePlayerViewController. I was following this tutorial: When I present the MPMoviePlayerViewController, all is right. But when I dismiss it, simply the method: - (id…
xarly
  • 2,054
  • 4
  • 24
  • 40
7
votes
3 answers

Why the pause between animateWithDuration animation and completion blocks?

Following Apple's recommendations, I'm chaining UIView animations by putting subsequent calls to -animationWithDuration:animation: in the completion: block of another call to aanimateWithDuration:animation:completion:, like so: [UIView…
6
votes
2 answers

UIView transitionFromView: toView: animation not working.

It's my first post on stackoverflow. I'm a iOS developer newbie and I'm not a native English speaker, so I will do my best to explain my problem. Problem: I have added two views to my AppDelegate window and I want to flip from one to the other…
6
votes
1 answer

UIView transition animation does not work with transitionWithView:duration:options:animations:completion method

In iOS Documentation usage of beginAnimation-commitAnimation is discouraged. So for animations and transitions there are new methods that make use of ^blocks. However when I use transitionWithView:duration:options:animations:completion method I get…
Mikayil Abdullayev
  • 12,117
  • 26
  • 122
  • 206
6
votes
4 answers

Is there a full pagecurl? Updated

Ok, so I really like the pagecurl effect, only one problem, when sending feedback email from within the app, the partialPageCurl covers the cancel button and most of the send button for the mail. The buttons still work, but the users won't see them.…
Jason
  • 650
  • 2
  • 10
  • 33
6
votes
1 answer

Is it possible to animate UIEdgeInsets?

I've been trying to animate a change in UIEdgeInsets. I've already tried using UIView.animateWithDuration and the insets just jump to the final values. Does anyone know if this a property that can't be animated? Or better yet, is anyone aware of a…
Clay Ellis
  • 4,960
  • 2
  • 37
  • 45
6
votes
3 answers

How to make half curl animation in iPhone like the maps app?

I am using the following code for page curl animation [UIView beginAnimations:@"yourAnim" context:nil]; [UIView setAnimationTransition:UIViewAnimationTransitionCurlUp forView:yourView cache:cacheFlag]; ... [UIView commitAnimations]; Is it possible…
Biranchi
  • 16,120
  • 23
  • 124
  • 161
6
votes
2 answers

How to facebook style transition

Want to implement a view controller transition similar to used in facebook and many other apps, snapshot is attached. Will it require playing with CoreAnimation framework or is it available in the toolkit?
Firdous
  • 4,624
  • 13
  • 41
  • 80
6
votes
3 answers

How to switch views with animation - objective c

I have a viewController that has a tableView and a mapView, and only one is visible. I also have a toolbar with segment control with two buttons (list and map) How do I switch between the table view and the map view ? and it's important that the…
Eyal
  • 10,777
  • 18
  • 78
  • 130
5
votes
1 answer

Slide up UIView using kCATransitionPush

I am trying to have a UIView slide up a quarter of the page to reveal another view underneath it (to display options), and then slide back down to cover those options. I've searched SO relentlessly but can't seem to find what I'm looking for. I do…
5
votes
2 answers

Unable to see animation for .transitionFlipFromRight for first 3 view controllers in array

I have an app with a Tinder-like interface where a user can flip through car In my ViewController.swift, I have private var currentCardsOnScreen: [CardViewController] = [] This array gets populated as I put CardViewControllers in the stack: if…
Zack Shapiro
  • 6,648
  • 17
  • 83
  • 151
5
votes
2 answers

iOS custom transition animation

I have started learning of custom transition animation with using UIViewControllerAnimatedTransitioning protocol. And mostly all videos I've found on youtube are based on the flow when we have new ViewController presented with circle animation or…
Stas Ivanov
  • 917
  • 1
  • 10
  • 22
1 2
3
27 28