Hello, Im trying to add a animation to a UIImageView, but it always fails. Why? Here is the code:
//(…)
UIImage *newImage = UIGraphicsGetImageFromCurrentImageContext();
animationImage = [[UIImageView alloc]initWithImage:newImage];
[self.view addSubview:animationImage];
CATransition *animation...
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 restrict frame of transition by UIView frame? I tried to set clipToBounds of my UIView to ...
Hi everyone, how can I make it so all of my view's subviews aren't animated here and only the currentPage's representedView and the newPage's represented view's?
CATransition *transition = [CATransition animation];
[transition setType:kCATransitionPush];
[transition setSubtype:([self indexOfPage:currentPage] < [self indexOfPage:...
Hello and thanks for looking at my question.
I have an app that supports landscape orientation only (either left or right button). It launches in landscape-left. Great - it launches in correct orientation, and it even reorients views properly (I've customized the supported orientations method) between landscape left and right.
Moving o...
Having some basic issues with managing the total memory from adding and removeing a uiviewcontroller - but only when i add an animation to it using CAtransition. I set up a simple scenario below of the situation:
I have a basic view controller that I init/alloc called IVC, and I add to the current uiController:
IN the header file it ...
I have a CATransition (code below) that moves a view down. How can I specify a location for the animation to start, for example 60, 30.
Here's the code I'm currently using:
CATransition *animation = [CATransition animation];
[animation setDuration:0.5];
[animation setType:kCATransitionPush];
[animation setSubtype:kCATransitionFromBott...
i used the following code for swap between views..bute there appears a white shade ..how can i remove the white shade? help me
CATransition *animation = [CATransition animation];
[animation setDelegate:self];
[animation setDuration:1.8];
//[animation setTimingFunction:UIViewAnimationCurveEaseInOut];
[animation setType: kCAT...
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 kCATransitionFromRight, kCATransitionFromLeft,
kCATransitionFromTop, kCATransitionFromBottom are the ...
Hello, I am trying to do a partial page curl with the following:
CATransition *animation = [CATransition animation];
[animation setDelegate:self];
[animation setDuration:1.0f];
[animation setTimingFunction:UIViewAnimationCurveEaseInOut];
[animation setType:(notCurled ? @"mapCurl" : @"mapUnCurl")];
[animation setR...
Hello everyone, I wanted to know if anyone managed a pagecurl from the top using the CATRANSITION. I have the following :
CATransition *animation = [CATransition animation];
[animation setDelegate:self];
[animation setDuration:0.35];
[animation setTimingFunction:UIViewAnimationCurveEaseInOut];
animation.type = @"pageCurl";
animati...
I'm making a TabBarApp.
My first tab is a "main menu" (UINavigationController) some of the views in the menu is also available in the tabbar.
I call [tabbarController setSelectedView:] instead of pushViewController when those spesific rows are selected.
I want to use the same push animation as a NavigationController when calling [tab...
Hello all, I am applied CATRANSITION to a view and did not remove it after it completed. if I rotate the ipad/iphone, the frozen state of the view will not rotate. I reckon it is something expected. Now, my question is:
If i want it to mimic the usual interface rotation, should I apply atransform manually to the layer ? i.e
if(currentp...
Hello was just wondering if my app will get rejected using the following code:
[animation setDuration:1.0];
[animation setTimingFunction:UIViewAnimationCurveEaseInOut];
animation.type = @"pageUnCurl";
animation.fillMode = kCAFillModeForwards;
animation.startProgress = 0.78;
animation.endProgress = 1.
0;
This is us...
I'm having problems using the QuartzCore framework. Here's the code that's trying to run:
#import <QuartzCore/QuartzCore.h>
CATransition *animation = [CATransition animation];
[animation setDuration:0.5];
[animation setType:kCATransitionPush];
[animation setSubtype:kCATransitionFromLeft];
[animation setTimingFunction:[CAMediaTimingFunc...
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 dokumented here for example:
http://iphonedevwiki.net/index.php/UIViewAnimationState
Howev...
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:
- (void)pushViewControllerMoveInFromBottom:(UIViewController *)viewController {
[CATransaction begin];
CATransition *tr...