In our iOS mobile app we have forms to create, edit and delete certain resources.
We want a user of our app to be able to create and delete these resources when offline and have them update to the webservice when a connection is available.
On Android we use a library by Evernote based on JobQueues which allows us to schedule a job to run when the network is available.
Is there an equivalent technology available in iOS or what is the recommended approach to achieving the same queue effect.
On iOS we use Realm as our on-device database and Alamofire as a network library.
Realm Sync可以完成此任务,但是您将需要在后端使用Realm对象服务器,并且正如其他人提到的那样,可到达性触发条件。
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.