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
3
votes
1 answer

CATransition Cube with panning gesture

I'm developing an app which displays four views above a cube which you can roll swiping from right and from left.I've easily realized this interaction using CATransitions like this: [self.view1 addSubview:nextTo1]; CATransition *animation =…
3
votes
1 answer

CATransition not respecting orientation changes on iPad

I have a functioning page curl that works. The problem is the rotation of the iPad. The app runs in landscape only and supports l left and l right. If the iPad is 'landscape right' the curl happens in the bottom right as it should. If I rotate the…
malaki1974
  • 1,605
  • 3
  • 16
  • 32
2
votes
1 answer

Using CAFilter for suckeffect on iOS View

I have been reading about creating suckeffect and have found articles that ask to use CAFilter for having an App Store approved suckeffect animation. My doubts are. is CAFilter publicly available or will Apple reject applications using it? Can…
inforeqd
  • 3,209
  • 6
  • 32
  • 46
2
votes
1 answer

CATransitions don't work

I want to ask you a question that is probably very simple but I didn't find the reason for it. I just started iPhone programming. This appears whenever I try to built anything that contain CATransitions. "_OBJC_CLASS_$_CATransition", referenced…
2
votes
1 answer

CATransition to other view works, crashes on transition back

I am using this code to transition from the current view to another and it works. The problem is that when I try to return to the current view the app crashes. This is the code I use to pass from the current view to the new one: CATransition…
stefanosn
  • 3,264
  • 10
  • 53
  • 79
2
votes
1 answer

how does the CATransition work?

i have two views,one is aView,another is bView, there is a button on aView,i click the button ,i will jump to bView,please see the code -(IBAction)jump2b:(id)sender{ CATransition *animation = [CATransition animation]; animation.delegate =…
Bin
  • 484
  • 1
  • 6
  • 18
2
votes
2 answers

CATransition white flash in background?

I'm trying to make a pushViewController slide in from the left, not the right, as follows: Page14Controller * controller = [[Page14Controller alloc] initWithNibName:@"Page14Controller" bundle:nil]; CATransition* transition = [CATransition…
2
votes
0 answers

CATransition as an explicit animation

Greetings to all. Does anyone know if it is possible to essentially convert CATransition to an explicit animation? That is, I almost want it to behave like CABasicAnimation does- I need to be able to create the CATransition object, set the options…
2
votes
1 answer

Hide a black fade when self.dismiss with CATransition

I want to make my viewController to dismiss to an old viewController with animation. But when I use CATransition my viewController and old viewController fades black. Is there any way I can make it not to fade? let transition =…
Dojyouge
  • 39
  • 4
2
votes
1 answer

CATransition with CIFilter doesn't work first time,works second time

I want to add CATransition animation for NSView. I have the following code: [contentView setWantsLayer:YES]; NSRect rect = [contentView bounds]; NSData *shadingBitmapData = [NSData dataWithContentsOfFile:[[NSBundle mainBundle]…
beefon
  • 3,194
  • 1
  • 21
  • 25
2
votes
2 answers

Low frame rate during UINavigationController push transition

I have a UINavigationController, and push from the root view controller to the next view controller. This second view controller is fairly "heavy", in that it has a great deal of initialization and subviews. My issue is this: the transition…
Jeremy Fuller
  • 3,391
  • 1
  • 32
  • 27
2
votes
2 answers

Swift Unable to present view controller from top to bottom

In my application I have to present the screen from Top to bottom and I have tried below code its giving the same normal presenting style. let screen = self.storyboard?.instantiateViewController(withIdentifier: "Screen1p5") as? Screen1p5 …
Mahesh Narla
  • 342
  • 2
  • 3
  • 20
2
votes
1 answer

iPhone - UINavigationController - custom animation with CATransaction

I am trying to create a category for UINavigationController so I can put together a few custom animations. I came across this question and it got me started. I've come up with the following for a push function: -…
RyanJM
  • 7,028
  • 8
  • 60
  • 90
2
votes
0 answers

Pushing to transparent view controller transition issue

I have such view hierarchy. My Window rootViewController is TabBarController with some nice background image loaded into ImageView. Now on top of it I want to have under one TabBar the NavigationController. Every View Controller in this…
2
votes
1 answer

Transition between two views works on iOS8 but not on iOS9

I've been trying for a few hours now to get the transition animation work between two views. The problem that appears all the time that when I get the code to work on ios8.1 it stops working on ios9.1 and the other way around. The problem is simply…
Shelin
  • 41
  • 5
1 2
3
10 11