catransaction Questions
1
I am recieving memory warning using 100 of animating images so I tried to use Core Animation instead but that gives me the same problem. This is because I don't know how to use replaceSublayer in m...
Duluth asked 23/9, 2013 at 8:42
2
I am trying to apply a rotation animation by number of degrees to a UIImageView and persist the rotation transformation in the completion block.
The problem that I am facing is that when the compl...
Rawden asked 28/6, 2016 at 16:7
4
Solved
I'm trying to draw a animated circle but every segment needs to have another color. Now everything works except that my piece that is just drawed before I call the method again disappears so only t...
Cerebral asked 23/3, 2015 at 12:6
2
If I close my iPad app while I'm loading data from services, the app closes but then immediately opens again without my doing anything. At this point, I am not able to do anything; I can't close th...
Harpoon asked 25/8, 2011 at 19:38
1
Solved
I did a ViewController where there is a button and UITextfield when I click the button a UITableViewController with a UISearchBar is presented and a list of languages is displayed. My issue is when...
Grantham asked 8/1, 2018 at 5:17
3
Solved
I'm using a CAKeyframeAnimation to animate a view along a CGPath. When the animation is done, I'd like to be able to call some other method to perform another action. Is there a good way to do this...
Blowfly asked 18/3, 2010 at 7:37
2
Solved
The Problem
I have two view controllers, both are contained within respective UINavigationControllers and a single UITabBarController. On one of the view controllers I am creating a bubbles effect,...
Museology asked 14/9, 2016 at 19:39
0
I'm simply closing doors, delaying 2 sec/calling a method then opening them back.
One comes from the left side and the other from the right side.
I first used UIView animation block but then realiz...
Babin asked 9/4, 2016 at 13:21
1
Solved
I'm using GMSMapView. So I added custom GMSMarker and set the image(Ex. Bike image) and animating that marker when user starts moving and changing the angle of the marker in locationManager .
Curr...
Cheju asked 15/2, 2016 at 5:10
1
In a CATransaction I have the following code:
[CATransaction setCompletionBlock:^{
...do something ....
}];
The animation runs for about half a second. I want to be able to cancel the completio...
Woeful asked 23/5, 2014 at 19:0
1
I am trying to rotate a CAShapeLayer by an angle from its current angle whenever a button is pressed.
I am using delegate function animationDidStop to set the transform of the layer during end of...
Garnett asked 23/6, 2015 at 17:37
1
Solved
I am making an app that fetches JSON content of a blog. The titles of the blog articles are shown in tableView.
The titles fetched were HTML encoded. So I decoded them using this code
func confi...
Abad asked 11/2, 2015 at 15:23
1
Solved
How come the completion block for this CATransaction never fires?
[CATransaction begin];
[CATransaction setCompletionBlock:^{
// table animation has finished
NSLog(@"why does this section never ...
Shipley asked 14/12, 2014 at 14:7
1
Solved
I'm getting this warning in the log window of the debugger:
CoreAnimation: warning, deleted thread with uncommitted CATransaction; set CA_DEBUG_TRANSACTIONS=1 in environment to log backtraces.
...
Gumdrop asked 26/5, 2014 at 9:54
1
Solved
I see many people use this to disable implicit animation:
[CATransaction begin];
[CATransaction setDisableActions:YES];
someLayer.backgroundColor = someCGColor;//no animation
[CATransaction commit...
Frederick asked 7/6, 2014 at 16:7
3
Solved
I am having issues with the following warning:
CoreAnimation: warning, deleted thread with uncommitted CATransaction; set CA_DEBUG_TRANSACTIONS=1 in environment to log backtraces.
I am using an N...
Sclerodermatous asked 20/9, 2012 at 6:35
1
Solved
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 ...
Toname asked 26/12, 2012 at 15:41
1
Solved
While my app is running, I often get the following warning:
CoreAnimation: warning, deleted thread with uncommitted CATransaction;
set CA_DEBUG_TRANSACTIONS=1 in environment to log backtraces....
Rapper asked 6/9, 2012 at 10:13
1
Solved
I have a CALayer which I merely create and add to a subview of my view controller's main view in the controller's initWithNibName:
And then, I perform the following animation:
[CATransaction begi...
Apotropaic asked 28/1, 2012 at 23:5
2
Solved
Until now I've been able to animate the custom properties of my CALayer subclass, thanks to + (BOOL)needsDisplayForKey:(NSString *)key and CABasicAnimations.
However it turns out that chaining ani...
Gold asked 8/11, 2010 at 8:49
1
I am performance testing my iPhone app:
// using CATransaction like this goes from 14fps to 19fps
[CATransaction begin];
[CATransaction setDisableActions: YES];
// NEG, as coord system is flipped...
Fantastically asked 15/2, 2011 at 12:3
2
Solved
I'm porting an iPhone app to Mac OS X. This code was being used successfully on the iPhone:
- (void) moveTiles:(NSArray*)tilesToMove {
[UIView beginAnimations:@"tileMovement" context:nil];
[UIVi...
Briefing asked 7/11, 2010 at 19:13
1
© 2022 - 2024 — McMap. All rights reserved.