From everything I read, I thought for sure that theTransitionToState path is a path. It even works great if you use didTransitionToState, although the transition starts after normal editing is complete.
I think you want to use setEditing
- (void)setEditing:(BOOL)editing animated:(BOOL)animate { [super setEditing:editing animated:animate]; if(editing) { [UIView beginAnimations:nil context:nil]; [UIView setAnimationDuration:0.3]; label.alpha = 0.0; [UIView commitAnimations]; } else { [UIView beginAnimations:nil context:nil]; [UIView setAnimationDuration:0.3]; label.alpha = 1.0; [UIView commitAnimations]; } }
user579091
source share