iOS ASI--其他用法

// 监控整个项目,是否有请求正在进行

BOOL flag = [ASIHTTPRequest isNetWorkInUse];

// 整个项目,显示或隐藏运营商右边的指示器

[ASIHTTPRequest setShouldUpdateNetWorkActivityIndicator:YES]

// 针对某个请求,设置是否后台运行

request.shouldContinueWhenAppEnterBackground = YES;

// 针对某个请求,设置超时连接次数

request.numberOfTimesToRetryOnTimeOut = 2;

原文地址:https://www.cnblogs.com/oumygade/p/4251156.html