Hi all,
I see two strange things on my app when using the network API to send/receive data and accessing the file system to load images. Particularly,
I turned the auto-lock off, meaning that my app is always running in the foreground. After 15 minutes the app has been running continuously I start getting NSURLErrorNotConnectedToInternet, as if the phone doesn't allow anymore to connect to the internet. And this occurs systematically, every 15 min.
The other weird thing is that after 20 minutes the app has been running continuously, I can't access the file system anymore to load some images embedded in my binary. This again happens systematically.
Is this behavior due to Apple security policy to avoid third-party apps accessing the net and file system for more than 15/20 mins?
Any help would be appreciated.
Thanks a lot.
I see two strange things on my app when using the network API to send/receive data and accessing the file system to load images. Particularly,
I turned the auto-lock off, meaning that my app is always running in the foreground. After 15 minutes the app has been running continuously I start getting NSURLErrorNotConnectedToInternet, as if the phone doesn't allow anymore to connect to the internet. And this occurs systematically, every 15 min.
The other weird thing is that after 20 minutes the app has been running continuously, I can't access the file system anymore to load some images embedded in my binary. This again happens systematically.
Is this behavior due to Apple security policy to avoid third-party apps accessing the net and file system for more than 15/20 mins?
Any help would be appreciated.
Thanks a lot.