Managing two NSURLConnection

前端 未结 3 505
终归单人心
终归单人心 2021-01-23 11:04

I want to do two async request from two different kml file, so I setup two requests first:

NSString *server1URL = [NSString stringWithFormat:...];
NSMutableURLRe         


        
3条回答
  •  灰色年华
    2021-01-23 11:25

    How about assigning tags to each connection and checking the tags via an if/else or switch in the connectionDidFinishLoading?

提交回复
热议问题