UIFileSharingEnabled has no effect(UIFileSharingEnabled 没有效果)
问题描述
我已将 UIFileSharingEnabled 添加到 .plist.根据建议,我有:
I've added UIFileSharingEnabled to the .plist. Per suggestions, I have:
- 删除了该应用并重新部署了几次
- 重新部署后尝试断开连接
我无法在 iTunes 的文件共享"部分显示该应用程序.在另一个应用程序上,这完美无缺.它不起作用的应用程序有一些奇特的内部结构(一个易于携带的游戏;因此,它有自己的主循环,它没有主笔尖,...).它工作的应用程序几乎是标准交易.此外,测试是在两种不同的设备上完成的:它适用于装有 iOS 4.2.1 的 iPod Touch 4,但它不适用于装有 iOS 4.2.1 的 iPhone 3GS.
I have not been able to get the app visible in the File Sharing section in iTunes. On another app, this works flawlessly. The app where it doesn't work has a bit exotic internals (an easily portable game; as such, it has its own mainloop, it doesn't have a main nib, ...). The app where it does work is pretty much standard deal. Also, testing was done on two different devices: it worked on iPod Touch 4 with iOS 4.2.1, but it didn't work on iPhone 3GS with iOS 4.2.1.
由于隔离问题有点困难(我可能会花费更多时间来隔离它),是否还有其他已知要求才能使文件共享正常工作?
Since it's a bit difficult to isolate the problem (and I could probably spend several MORE hours isolating it), is there any other known requirement to get file sharing to work?
推荐答案
CFBundleDisplayName
在 .plist 中是额外需要的.为什么 Apple 选择要求这样做,我不知道.
CFBundleDisplayName
is additionally required in the .plist. Why Apple elected to require this, I have no idea.
这篇关于UIFileSharingEnabled 没有效果的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!
本文标题为:UIFileSharingEnabled 没有效果


- GPS状态的广播接收器? 2022-01-01
- 类似于 Mail.app 的 iPad 模态视图控制器? 2022-01-01
- URL编码Swift iOS 2022-01-01
- UITextView 内容插图 2022-01-01
- SetOnItemSelectedListener上的微调程序错误 2022-01-01
- 在 Iphone SDK 的导航栏上添加多个按钮 2022-01-01
- 如何在 iPhone 模拟器中重置 NSUserDefaults 数据? 2022-01-01
- Xcode 7.3 中带有 UILabel 的 UIStackView 2022-01-01
- 使用自动布局向 UIScrollView 添加动态大小的视图 2022-01-01
- 网上有没有好的 UIScrollView 教程? 2022-01-01