我在屏幕上有一个 UIView 包含一些标签。我正在尝试进行翻转视图的转换,并且一旦我完成 nimation 的一半,我希望能够更新标签。我怎样才能做到这一点?
[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];
}];