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
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
0 answers

How to remove Fade Animation in CATransition

I've tried to remove Fade animation between two views by changing background color of views to clearcolor and remove FadeIn/Out by using self.navigationController!.view.layer.removeAnimationForKey("FadeIn") …
Rurouni
  • 963
  • 10
  • 31
5
votes
1 answer

CoreAnimation confusion: CATransaction vs CATransition vs CAAnimationGroup?

I've used these three classes several times by separate several times. For example when I want to group several animations (i.e.: CABasicAnimations, etc) to happen simultaneously I first think of CAAnimationGroup, when I want to see a layer change…
nacho4d
  • 43,720
  • 45
  • 157
  • 240
4
votes
2 answers

Create CATransition for UIView from current state

I'm trying to make a push animation from one side using a CATransition. I do this in method which handles two UIViews, one for the background and another for the foreground. The animated UIView is be the foreground. However I don't want the new…
jglievano
  • 501
  • 4
  • 21
4
votes
0 answers

How to remove greying effect (fade animation) when performing push and pop while using CATransition?

Currently the transition of pushing and popping a UIViewController onto and off a UINavigationController stack looks like For brevity I have posted the code being used on both UIViewControllers is as follows: let transition = CATransition() …
as diu
  • 1,010
  • 15
  • 31
4
votes
1 answer

Swift CATransition: Is there anyway to remove the fading effect from this animation?

I have an animation here but when the old ViewController is pushed out of the window it fades to black and the new one fades in from black which doesn't look very nice. Is there a way the remove this fading effect? let transition =…
Matt
  • 91
  • 3
  • 10
4
votes
1 answer

Custom Segue With CATransition Not working

I'm trying to create a custom transition between my viewControllers. I'm following this tutorial but after clicking/tapping the button nothing happens! This is the code for CustomSegue.m #import "CustomSegue.h" #import…
Farshad Momtaz
  • 424
  • 1
  • 8
  • 22
3
votes
0 answers

iOS - CATransition and transitionWithView issues

Whenever I use either CATransition or transitionWithView to "push" one view from the right, there is a brief moment where the view that's getting pushed in fades in from black (or whatever the background color is), and the view that's getting pushed…
achiral
  • 601
  • 2
  • 11
  • 24
3
votes
2 answers

iPhone: changing CATransition causes UIActivityIndicatorView to stop animating

I have implemented a non-default animation for when a new view is pushed onto the screen (see code below). For some reason once I implemented this code it caused my UIActivityIndicatorViews to stop working. They will been shown on the screen but…
MikeIsrael
  • 2,871
  • 2
  • 22
  • 34
3
votes
2 answers

CATransiton Flicker w/ background animations

I am using a CATransition to shuffle CALayer's in and out of a UIView (the UIView isn't fullscreen.) The new layer enters from the right and the old layer leaves to the left. The CAlayer's have their contents properties set to CGImageRefs. Here…
Sam
  • 2,707
  • 20
  • 25
3
votes
1 answer

How to removeFromSuperview() with a transition

I have added a view as sub view using the following code let controller = SideMenuViewController.instantiateViewControllerFromStoryboard(storyBoardName: "Module1") as! SideMenuViewController UIView.animate(withDuration:0.5, delay: 0.0,…
user7887716
3
votes
1 answer

Custom segue transition animation

I'm working on an app that utilizes the navigation controller. I have a certain view controller that has a left and right button in the navigation bar and each button segues to a different view controller. When I press the right button, I just call…
Brosef
  • 2,945
  • 6
  • 34
  • 69
3
votes
1 answer

Hidden CATransition animations on iOS 4 (camera iris animation)

I'm trying to achieve the camera iris animation from the Apple camera app. It is also found in numerous other apps like RedLaser, Sudoku Grab, so it seems to be fine with Apples rules even thou it's private. The hidden CATransition animations are…
samy-delux
  • 3,061
  • 2
  • 29
  • 32
3
votes
2 answers

Using CATransition's In Three20?

I am looking to implement CATransitions within TTNavigator, I know the method openURL can take a UIViewAnimationTransition but that only gives me flipping and curling animations, but with CATransition I have access to another 8, of which…
Bongeh
  • 2,300
  • 2
  • 18
  • 30
3
votes
3 answers

iOS - CATransition issue: showing end image at start

In my UIViewController I create CALayer with image1. CALayer *imageLayer = [CALayer layer]; [imageLayer setBounds:CGRectMake(0.0, 0.0, 241.0, 430.0)]; [imageLayer setPosition:CGPointMake(160.0, 60.0)]; [imageLayer setAnchorPoint:CGPointMake(0.5,…
Palindrome
  • 161
  • 2
  • 11
1
2
3
10 11