2012-05-11 22 views

回答

0

ü也能避免UI冻结synchrounous要求通过

[self performSelectorInBackground:@selector(sendRequest) withObject:nil]; 

UI西港岛线不FREEZ

+0

我一次有多个请求.. – Narayana

+0

为那使用NSOperation,并在您的类中添加一个keyobserver,使用NSoperation的子对象发送Web请求和。 – Saad