我希望能够调用的方法,然后,要么等待的方法来完成做的事情,然后调用next方法调用,或者调用一个方法,等待一定的时间,然后调用一个方法。如何延迟方法调用?
上我会怎么做,有什么想法?
例子:
[self method1];
//wait for method1 to finish whatever it's doing then move onto the next line
[self method2];
OR
[self method1];
//wait say, 500ms then move onto the next line
[self method2];
这是否是偶然做的所有动画?如果是这样,你会以错误的方式去做。 – jer 2010-10-30 21:10:58
其实不,我不是想动画 – cgossain 2010-10-30 21:14:11