开发人员可以在 Windows 应用程序中使用 iCloud 吗?
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/8122123/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
Can developers use iCloud in Windows apps?
提问by Paul D. Waite
Developers can use Apple's iCloud APIs to sync app data between different versions of their app on Mac OS X and iOS.
开发人员可以使用 Apple 的 iCloud API 在 Mac OS X 和 iOS 上不同版本的应用程序之间同步应用程序数据。
If a developer has a Windows version of their app, can this version also use iCloud to sync app data with versions of their app on Mac OS X and iOS?
如果开发人员拥有其应用的 Windows 版本,该版本是否也可以使用 iCloud 将应用数据与其在 Mac OS X 和 iOS 上的应用版本同步?
采纳答案by Adam Davis
Access to iCloud is controlled by Apple in such a way that each app that accesses it has to be signed and/or provided a key from Apple. That's the easiest way to put it without violating the NDA, although the mechanism is not exactly “signing and keys”.
对 iCloud 的访问由 Apple 控制,每个访问它的应用程序都必须由 Apple 签名和/或提供密钥。这是在不违反 NDA 的情况下最简单的方法,尽管该机制并不完全是“签名和密钥”。
At the moment Apple is only providing this for OS X and iOS apps, so effectively no - Windows, web, and any other apps outside OS X and iOS are not supported at this time.
目前,Apple 仅为 OS X 和 iOS 应用程序提供此功能,因此实际上不支持 - 目前不支持 Windows、Web 和 OS X 和 iOS 以外的任何其他应用程序。
回答by Michael Dautermann
iCloud is available for Windows, yes.
iCloud可用于 Windows,是的。
The downloads are available from https://developer.apple.com/icloud/downloads/
可从https://developer.apple.com/icloud/downloads/下载
I haven't found documentation explicit for Windows yet, though. Your best bet is to do a scan on Apple's "private" dev forums"and do a keyword search on "iCloud" & "Windows" and you'll see plenty of chatter asking the same question as you.
不过,我还没有找到针对 Windows 的明确文档。最好的办法是在Apple 的“私人”开发论坛上进行扫描,并在“iCloud”和“Windows”上进行关键字搜索,您会看到很多与您提出相同问题的喋喋不休。
回答by Paul D. Waite
A blog post on icloudev.comclaims that during the WWDC 2011 iCloud session, it was mentioned that limited iCloud APIs (apparently not including key-value data) would be available for Windows later in 2011.
icloudev.com 上的一篇博文声称,在 WWDC 2011 iCloud 会议期间,有人提到有限的 iCloud API(显然不包括键值数据)将在 2011 年晚些时候在 Windows 上可用。
I'm not sure if this stuff is covered by NDA — I'm not currently signed up to the developer program myself.
我不确定 NDA 是否涵盖了这些东西——我自己目前还没有注册开发者计划。