2010-06-30 68 views
0

可能重複:
How to exit NSThread如何停止iphone中的NSThread?

我呼籲使用NSthread的方法。我想停止點擊按鈕事件的線程。 我該如何做到這一點?請幫助我。謝謝。

[NSThread detachNewThreadSelector:@selector(playVideo) toTarget:self withObject:nil]; 
+0

可能重複:[如何退出NSThread](http://stackoverflow.com/questions/909283/how-to-exit-nsthread) – raaz 2011-02-04 13:01:27

回答