Questions tagged [catransition]

The `CATransition` class implements transition animation for a layer. You can specify the transition effect from a set of predefined transitions or by providing a custom `CIFilter` instance.

CATransition is an Objective-C wrapper for creating view transitions and as of 3.1.2, there are 11 types of transitions 4 of which are SDK-compatible.

The CATransition class implements transition animation for a layer. You can specify the transition effect from a set of predefined transitions or by providing a custom CIFilter instance.

Apple Documentation for the CATransition class can be found here

161 questions
26
votes
6 answers

View being blocked by UITransitionView after being presented

I have a side navigation controller and present it via a UIButton. When I make this NC the root view controller directly by [self presentviewcontroller: NC animated: YES completion: nil], for some reason the menu side of the NC is blocked by a…
23
votes
6 answers

Push Up View Controller from Bottom using Swift

I would like to push a view controller using Swift and animate it so it appears from the bottom and moves up. I have the following code to push my view controller: let helloTableViewController =…
Daniel Bramhall
  • 1,451
  • 4
  • 18
  • 24
19
votes
0 answers

UINavigationController custom animation

Possible Duplicate: Custom animation for pushing a UIViewController Any of you achieved to make custom animation like expand from middle in UINavigationController? (for example Facebook app when you select news feed from the launcher view) I seen…
kororo
  • 1,972
  • 15
  • 26
17
votes
3 answers

dismissModalViewController with transition: left to right

I was using a nice method to dismiss my modal view controller: [self dismissModalViewControllerWithTransition:2]; which makes a slide transition from left to right, like a navigation controller does to pop a view. As this method is a non-public…
jcdmb
  • 3,016
  • 5
  • 38
  • 53
15
votes
2 answers

CATransition black color issue when push right to left

May be this types of issue occurred with many developer, I also tried to find on Google but there is no luck to solve my problem. In my app rootViewController set on window dynamically, I mean user can change root view at run time application. So…
iPatel
  • 46,010
  • 16
  • 115
  • 137
14
votes
1 answer

How to animate removeFromSuperview

I animated the appearance of my subview with: CATransition *transition = [CATransition animation]; transition.duration = 0.3; transition.type = kCATransitionReveal; [webView.layer addAnimation:transition forKey:nil]; [self.view…
Jakub
  • 13,712
  • 17
  • 82
  • 139
10
votes
1 answer

Linker command failed with Undefined symbols for architecture i386

i am trying to do the half page curl feature. This is the code I am using: #import CATransition *animation = [CATransition animation]; [animation setDelegate:self]; [animation setDuration:1.0f]; [animation…
Xavi Valero
  • 2,047
  • 7
  • 42
  • 80
8
votes
3 answers

Animating CALayer of UIView to round corners

I'm trying to animate the rounding of the corners of my view. The cornerRadius property is listed as animatible, but I can't seem to get it to work. I actually can't get any of the other properties to animate either, but the corners are what I'm…
Micah Hainline
  • 14,367
  • 9
  • 52
  • 85
7
votes
0 answers

CATransition black shadow

What I am trying to do is to make a custom transition effect for my modal presented view controller (only for dismissing it). I just want it to look like the original but slower. The problem is I am getting a black shadow between my modal presented…
user3653164
  • 979
  • 1
  • 8
  • 24
7
votes
1 answer

CATransition how to clip to bounds of UIView?

I'm using CATransition to slide subviews of UIView. But the problem is that the CATransition always appears in whole screen. And it looks like a mess because I have another UI elements in window that become overlapped while transitioning. How can I…
TOVVV
  • 71
  • 1
  • 3
6
votes
2 answers

Implementing a CATransition push with CAAnimation

How do you implement kCATransitionPush using CAAnimation subclasses in iOS? CAAnimation *animation; // How do you create an animation that does the same than: // CATransition *animation = [CATransition animation]; // [animation…
hpique
  • 119,096
  • 131
  • 338
  • 476
6
votes
1 answer

Exact easing and timing for default UIViewController present animation

I'm trying to make a custom CATransition such that pushing a viewController looks exactly the same as presenting one modally. so far I have this for present override func viewWillAppear(_ animated:Bool){ super.viewWillAppear(animated) …
LulzCow
  • 1,199
  • 2
  • 9
  • 21
6
votes
0 answers

How to do presentViewController transition from Right to left and dissmissViewController for it reverse?

for transition from one viewController to another view i wrote code below like this if (UIInterfaceOrientationIsLandscape(STATUSBAR_ORIENTATION)) { transition = [CATransition animation]; transition.duration = 0.3; …
RameshIos
  • 301
  • 1
  • 4
  • 13
6
votes
1 answer

Dealing with layer-backed IKImageBrowserView, Z-ordering and other concerns

I am working on a project that needs to: have a transition animation from a view that contains an IKImageBrowserView to another view; have a hover overlay on each IKImageBrowserCell as the mouse moves across the view; and have an NSView overlap a…
5
votes
2 answers

Customise UINavigationController animation: CATransition

I have an UINavigationController. I made VC1 the rootViewController and programatically load VC2 from VC1 and then have the custom animation to go from VC1 to VC2. Standard. Everything is fine and good. Now, I would like to have a custom animation…
1
2 3
10 11