这个问题在这里已经有了答案:
Best Answer-推荐答案 strong>
对于 Swift 2.0
UIApplication.sharedApplication().networkActivityIndicatorVisible = true
UIApplication.sharedApplication().networkActivityIndicatorVisible = false
对于 Swift 3.0
UIApplication.shared.isNetworkActivityIndicatorVisible = true
UIApplication.shared.isNetworkActivityIndicatorVisible = false
关于ios - 网络微调器什么时候出现?,我们在Stack Overflow上找到一个类似的问题:
https://stackoverflow.com/questions/42850291/
欢迎光临 OGeek|极客世界-中国程序员成长平台 (https://ogeek.cn/) |
Powered by Discuz! X3.4 |