问题标签 [icloud]

For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.

0 投票
3 回答
6388 浏览

sample - 有 iCloud 的样本吗?

iCloud 来找我们了。

作为 iOS 开发者,读完这篇文章后,我只是想知道是否有任何关于这项新技术的示例。谢谢

0 投票
3 回答
1329 浏览

iphone - Apple iCloud - 有人可以解释一下吗

那么,Apple iCloud 是其他数据存储框架(例如 Core Data)的竞争对手吗?

老实说,我不完全确定它是如何工作的。我目前正在构建一个应用程序,并打算使用数据库来存储和加载数据,但我是否认为 iCloud 可以以这种方式用作数据库?

0 投票
2 回答
8952 浏览

cocoa - 您可以将 CoreData 与 iCloud 同步吗?

有谁知道是否以及如何将 CoreData 应用程序与 iCloud 同步?如果我正确理解 Apple iCould 的说明,您不能同步 CoreData,可以吗?

0 投票
1 回答
616 浏览

iphone - 帮助学习 iCloud

我正在寻找一些材料来学习 iCloud 及其功能。我发现提供有关 iCloud 信息的网站非常少。任何人都可以提出最好的学习方法吗?任何示例程序?先感谢您。

0 投票
2 回答
783 浏览

ios - Creating an iCloud like server

So, iCloud is still under NDA, but my question isn't so much about iCloud as it is how to implement something inspired by iCloud.

We all know iCloud is just a server based mechanism for syncing Documents. I'm just really inspired by the Documents aspect of it. It seems like a different paradigm to me to focus on syncing documents. Web APIs I have written (which isn't many) have all been SQL database driven.

An example: A simple blog post usually is something like this: A row in a database that contains the title, content, date published, author. If you want to update the title, for instance, you update that row/column in the DB. Easy, until you want to sync a bunch of clients who are making offline changes.

But if a blog post were a single document, that within itself maintained its own internal structure with a title, content, etc. all within one file. When you modify the title, the document is updated locally, then push the entire document (or a diff) up to the server. The server just replaces the old document with the new document, and voila the title is updated on the server. Obviously, this can lead to merge conflicts, but those can be handled by sending conflicting documents to the clients.

Anyway, I like that approach and I can see how it could be really useful for many web apps, especially those that want to support modifying data while offline and syncing easily once an internet connection is available, which is while its great for iOS.

My question: is there a name for what I'm talking about, and are there some useful reading materials available for learning how to implement such a technology?

In Other Words (Edit)

The iCloud API (currently under NDA) is just plain cool, and I want to start organizing the data in my iOS apps to be Documents synced with a Document Server, rather than just plain Core Data objects syncing through some REST api. How cool would it be if you could deploy an iCloud like server that was custom tailored for your iOS app?!

0 投票
2 回答
4995 浏览

sqlite - 如何启用 iCloud 对 sqlite 的支持?

我想为我的 sqlite 包装器提供 iCloud 支持。没有使用核心数据。

我想知道如何为它启用 iCloud。数据库内容一直在变化(用于开发票)。此外,如果有可能有某种版本控制将会很棒。

是否存在我可以用来执行此操作的任何示例?

0 投票
1 回答
731 浏览

ios - iCloud可以用来在用户之间交换数据吗?

我需要开发一个允许团队负责人创建任务并将它们分配给其他团队成员的应用程序,然后允许团队负责人和成员根据需要更新所述任务。是的,我知道 - 很多商业应用程序都这样做。但我有一些非常具体的理由让我自己动手。显然,我需要一个基于服务器的组件来管理它。鉴于数据的简单性,我可以为此使用 iCloud 吗?如果没有,关于哪个云供应商可能最适合这种简单但集中的数据管理要求的任何建议?

0 投票
2 回答
743 浏览

ios - iCloud API 是否允许从 iOS 访问音乐库?

我知道并非所有信息都是官方的,并且有关新操作系统的一些信息处于锁定和密钥状态,但是是否公开了 iCloud API 是否会支持 iOS 应用程序访问用户的云音乐库?

0 投票
1 回答
8194 浏览

iphone - iCloud 会保留属于已删除应用程序的用户数据吗?

我的用例是:

  1. 用户下载我的应用程序并将一些数据/文件上传到我的应用程序沙箱内的 iCloud。
  2. 用户删除了我的应用

问题:

iClould 会保留属于已删除应用程序的用户数据吗?(根据我的实验,当我的应用程序被删除时,数据会保留在 iCloud 上,但是我不确定这种行为是否是官方的)。

如果答案是肯定的,那么我有以下问题:

一个。用户的数据最终如何从用户的 iCloud 存储中删除/清除?(我担心的是,如果用户决定不再使用我的应用程序,数据将变得无用,因此应在 iCloud 上清除以释放空间)

湾。如果用户决定重新下载我的应用程序,他如何才能访问他最初上传的数据 iCloud?

C。我可以从 iCloud 门户网站 (www.icloud.com) 管理用户的数据吗?我没有看到我上传的文档出现在 iCloud 门户网站中,即使我将我的文件放在“文档”子文件夹下。

d。是否有任何官方文档描述了这种行为?

提前致谢!

0 投票
1 回答
1135 浏览

ios - iOS 5 iCloud Backup 是否使用 UIWebView 的存储为应用程序保存 webkit 数据?

我有一个使用 Webkit 的 sqlite DB(通过 UIWebView)的 phonegap iOS 应用程序,我想知道 sqlite 数据是否会使用 iCloud Backup(iOS5)保存。sqlite 数据存储在 Library/WebKit 文件夹中。在苹果文档中,他们说:

文件在应用程序主目录中的位置决定了备份哪些内容和不备份哪些内容。任何将备份到用户计算机的内容也会以无线方式备份到 iCloud。因此,Documents 目录中的所有内容以及应用程序的 Library 目录中的大部分(但不是全部)。

但它可以准确地说出库目录中的哪个文件夹没有保存。而且我不知道如何访问 iCloud 以检查目录是否已保存