iOS 信号量顺序异步请求多个接口
业务VC.m
dispatch_group_t group = dispatch_group_create();
dispatch_queue_t queue = dispatch_queue_create("testQueue", DISPATCH_QUEUE_CONCURRENT);
// 请求第一个接口
dispatch_group_async(group, queue, ...
原创
2019-05-30 11:15:10 ·
923 阅读 ·
0 评论