IPhone and Webapp sync via iCloud ??

just check if it is possible to sync iOS devices and web application through iCloud. We currently have an iOS app that uses iCloud to sync across all devices, and also wants a web app component. iCloud would be great to use as a module to sync everything together.

Does anyone know if this is possible?

+8
objective-c iphone cocoa-touch xcode icloud
source share
4 answers

I have a similar requirement, and I also wondered.

Unfortunately, iCloud data does not seem to be available for the web application. And if you found to hack it, it would still be an unreliable decision, since Apple could always make changes along the way, which intentionally violates your web component.

Change With CloudKit, this is no longer the case. It comes with a Javascript API for the explicit purpose of providing a web version of your application.

+10
source share

Sorry if I do not understand the question, but recently I wanted to add iCloud support to my web application and ran into the official iCloud JS API. The promo text says:

Keep your apps up to date on iOS, OS X, and now online with CloudKit JS .

[italics]

https://developer.apple.com/icloud/

+3
source share

It is very difficult to determine what you mean. If you ask if you can implement iCloud in a web application, then I think the answer is no, since there is only an API for Objective-C for iCloud.

However, you can embed your JS code inside your own shell and write your own code to work with iCloud. However, this may or may not be an option depending on your specific situation.

Edited for writing.

+1
source share

You could do it, but only if

  • You are using your own server
  • The server was running on the iOS platform
  • You can create software in Objective-C for this server.

Then you could potentially write a server application that could be used to connect to the iCloud API, and then return the callbacks to the end user in the form of Json messages that can be used, possibly using some kind of html interface.

+1
source share

All Articles