English 中文(简体)
在申请转向地下4时冻结
原标题:UIActivityIndicatorview freezes when application moves to foreground iOS4

I am experiencing an issue with activity indicator freezing when I move application to background and then bring it back to foreground. The application can be loading some data over the network when it is moved to background. Hence I display an activity indicator to the user. I have added the code to make sure that the task finishes in the background. When the application is brought to foreground immediately and the data is not completely loaded, the spinner stays on the screen but it stops spinning. When the data is completely loaded, the spinner disappears.

任何想法,为什么活动指标冻结,什么是可能的解决办法。

感谢。

最佳回答

几乎没有理由在这种背景下进行更新。

谁会看到? 指标冻结的另一个原因是,要进入背景,就会阻止国际不动产业联合会进行更新和估算,而这种更新和估算毫无必要地耗尽了该装置的电池并放慢了地表。

http://developer.apple.com/iphone/library/documentation/iPhone/Conceptual/iPhoneOS进步Guide/BackgroundExecution/BackgroundExecution.html 电话应用方案规划指南,附录方法 每当申请进入原地时,即叫作。

你们可以超越这一方法,并增加逻辑,在这里唤醒植被。 或请您签名,以听取以下人士的发言:。 如果你听到这一通知,你可以请一位选择人,根据当时的任何申请,更新情报和安全局的状况。

问题回答

暂无回答




相关问题
Code sign Error

I have created a new iPhone application.I have two mach machines. I have created the certificate for running application in iPhone in one mac. Can I use the other mac for running the application in ...

ABPersonViewController Usage for displaying contact

Created a View based Project and added a contact to the AddressBook using ABAddressBookRef,ABRecordRef now i wanted to display the added contact ABPersonViewController is the method but how to use in ...

将音频Clips从Peter改为服务器

我不禁要问,那里是否有任何实例表明从Peit向服务器发送音响。 I m不关心电话或SIP风格的解决办法,只是一个简单的袖珍流程......

• 如何将搜查线重新定位?

我正试图把图像放在搜索条左边。 但是,问题始于这里,搜索条线不能重新布署。

热门标签