4
몇 개의 레이블이 포함 된 UIView가 화면에 있습니다. 저는보기를 뒤집을 전환을 시도하고 있습니다. 반향을 통해 반쯤 지나면 레이블을 업데이트 할 수 있기를 원합니다. 어떻게 이것을 얻을 수 있습니까?iOS - 애니메이션 전환 중에 라벨을 업데이트 하시겠습니까?
[UIView transitionWithView:self.myView
duration:.7
options:UIViewAnimationOptionTransitionFlipFromBottom
animations:^{
// It doesn't update the labels here, until I scoll the tableview (containing the view)
//[self.myView update];
}
completion:^(BOOL finished){
// It doesn't look nice here because it doesn't look smooth, the label flashes and changes after the animation is complete
//[self.myView update];
}];