I have been reading that Apple recommends to use block-based animations instead of CATransaction
Before, I was using this code to disable animations:
[CATransaction begin];
[CATransaction setDisableActions: YES];
// !!! resize
[CATransaction commit];
Is there a new recommended method to do this, or is this still okay?
[UIView setAnimationsEnabled:NO];
//animate here
[UIView setAnimationsEnabled:YES];