newbie stuck: ASIHTTPRequest - no known class method for selector 'requestWithURL'
问题 I am referencing ASIHTTPRequest and got it to compile in iOS5 . However when I try to use it: ASIHTTPRequest *request = [ASIHTTPRequest requestWithURL:url]; I get the error no known class method for selector 'requestWithURL'. Also setCacheStoragePolicy and startAsynchronous throw errors. Indeed I can't see that method in the ASIHTTPRequest.m file. What am I missing? This is the latest code download from github . Thanks, John. 回答1: Go to target and check ASIHTTPRequest.m is a part of compiler