objective c - Bring terminated iOS app to Foreground state once internet is available -


app works without internet , i'm storing user data in csv file using xcode. when internet available, want send csv file on net weather app in terminated or suspended state. there way around bring app in foreground/background state terminated/suspended state when internet available?

yes, pretty annoying.

whenever loose server connection app's instance, schedule push notification. when gets handled (e.g. device online , receiving push), may start background task uploads data.

besides abusing push notification service , annoying users (because of decreasing battery life persistent networking , constant push notifications), need massive end hold connections active app installations.

so, yes, please don't.

edit:

since data may change when app 'alive', can't rely on background fetch , background upload tasks, queueing unsuccessful uploads?


Comments

Popular posts from this blog

php - Wordpress website dashboard page or post editor content is not showing but front end data is showing properly -

How to get the ip address of VM and use it to configure SSH connection dynamically in Ansible -

javascript - Get parameter of GET request -