ios - Finishing and keeping track of network requests regardless of app focus -
i'm building large social networking application requires me upload, retrieve, delete, , update different types of posts (text, image, video, ect). main question, seems answered partially on so, how design app, networking component, when user initiates api crud action such upload , either exits app or puts background, api call finishes , returns.
currently i'm using mmrecord keep models in core data sync , date data in backend. main problem i'm running stated before how save, keep track of, , finish pending network operations once app put background state or terminated. mmrecord requires server class subclasses mmserver utilizes afhttpsessionmanager object make requests i'd use session manager instance take care of finishing requests in background, sake of encapsulation.
Comments
Post a Comment