在Mac应用程序的保存对话框中包括iCloud [英] Include iCloud on save dialog box in mac app

查看:139
本文介绍了在Mac应用程序的保存对话框中包括iCloud的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在我的Mac基于文档的应用程序上实现了 iCloud 支持。
NSDocument 子类可以处理本地存储上的打开e保存文件和 iCloud
但是,我可以上传我的文件在 iCloud 只是拖动它在打开新文件面板上。
当应用程序提示用户保存文件的位置时, iCloud 不在列表中。
默认情况下它不支持TextEdit吗?

I have implemented the iCloud support on my Mac document-based app. NSDocument subclass can handle open e save file on local storage and iCloud. But, I can upload my files on iCloud only dragging it on the Open-New File Panel. When the app prompt the user the location to save the file, iCloud is not on the list. Isn't it supported by default like in TextEdit? I have to implement with my own code?

在这里:

推荐答案

我设法解决这个问题


  1. 重新创建证书和配置配置文件

  2. 删除$ CFBundleDocumentTypes条目中的LSItemContentTypes键b $ b Info.plist。我也删除了UTExportedTypeDeclarations条目(可能包含或可能不包含错误)。

这篇关于在Mac应用程序的保存对话框中包括iCloud的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆