関数呼び出し[self updateUI];のようです。booによってブロックされました。
booは別のバックグラウンド スレッドで実行されますか、それとも以下のコードのfooと同じですか?
[自己更新UI]はどのようにできますか; ブーでブロックしませんか?
- (void)MainFunction
{
[self performSelectorInBackground@selector(foo) withObject:nil];
}
- (void)foo
{
[self performSelectorInBackground@selector(boo) withObject:nil];
//updaate UI in MainThread
[self updateUI];
}
- (void)boo
{
//function here take long time to run;
}