xcode iOS purgeIdleCellConnections
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/11636797/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
iOS purgeIdleCellConnections
提问by user1467188
I'm getting a list of purgeIdleCellConnections shortly after downloading a lot of png images from the internet from a model class in the app.
从应用程序中的模型类从互联网下载大量 png 图像后不久,我得到了 purgeIdleCellConnections 列表。
Is this a threat to the application? It doesn't freeze up. Should I manually be closing connections?
这是对应用程序的威胁吗?它不会冻结。我应该手动关闭连接吗?
Thanks!
谢谢!
xcode 4.2.1, ARC, deploying to ios 5.0+
xcode 4.2.1,ARC,部署到 ios 5.0+
EDIT: I'm seeing the list in my console. Also, I only see it when testing from my phone on a 3G network, not on wifi. Doesn't happen in simulator either.
编辑:我在控制台中看到了列表。此外,我只在 3G 网络上通过手机测试时才看到它,而不是在 wifi 上。在模拟器中也不会发生。
采纳答案by tc.
I have no idea where you're seeing "a list of purgeIdleCellConnections".
我不知道您在哪里看到“purgeIdleCellConnections 列表”。
If you mean in the Organizer console, it's probably normal: You've just stopped downloading stuff, so presumably there are now a bunch of idle cell network connections which can be turned off to save power (that's my take on it, anyway).
如果您的意思是在 Organizer 控制台中,这可能是正常的:您刚刚停止下载东西,所以大概现在有一堆空闲的蜂窝网络连接可以关闭以节省电量(无论如何,这是我的看法)。