次のアニメーション ブロックがあります。
[UIView animateWithDuration:2
animations:^{
[childViewController_.view setAlpha:0];
}
completion:^(BOOL finished) {
[childViewController_.view removeFromSuperview];
}];
上記のように実行すると、完了ブロックがすぐに呼び出されます。ただし、完了ブロックがない場合、アニメーションは期待どおりに実行されます。
ここで何が間違っていますか?
更新
完了ブロック
のfinished
フラグは ですNO
。