0
colourPreview가 self.view의 하위보기로 설정된 상태에서 동일한 크기의 뷰가 두 개 있습니다. 이것은 내 애니메이션을 보여주는 내 코드입니다 :UIView는 서로간에 변경 될 때 애니메이션이 적용되지 않습니다.
-(void)startEditingHexLabel {
[UIView animateWithDuration:0.3
animations:^{
[UIView setAnimationTransition:UIViewAnimationTransitionCurlDown forView:hexTextView cache:YES];
[colourPreview removeFromSuperview];
[self.view addSubview:hexTextView];
[self.view sendSubviewToBack:colourPreview];
}
completion:^(BOOL finished){
[hexText becomeFirstResponder];
}];
}
그러나 전환없이 새로운보기로 변경됩니다. 어떤 아이디어?