私はこのコードを持っています:
[UIView animateWithDuration:0.8
animations:^{
[self methodToRun];
}
completion:^(BOOL finished){
[self anotherMethod];
}];
methodToRunにはいくつかの機能がありますが、アプリは0.8秒待機せず、anotherMethodの実行に進みます。2番目のビットを実行する前に0.8秒待つだけの方法はありますか?