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 没有效果
基础教程推荐
- 如何比较两个 NSDate:哪个是最近的? 2022-01-01
- 为什么姜饼模拟器方向卡在应用程序中? 2022-01-01
- navigationItem.backBarButtonItem 不工作?为什么上一个菜单仍然显示为按钮? 2022-01-01
- UIImage 在开始时不适合 UIScrollView 2022-01-01
- iOS - UINavigationController 添加多个正确的项目? 2022-01-01
- Xcode UIView.init(frame:) 只能在主线程中使用 2022-01-01
- 如何将图像从一项活动发送到另一项活动? 2022-01-01
- SwiftUI-ScrollViewReader的ScrollTo不滚动 2022-01-01
- Android Volley - 如何动画图像加载? 2022-01-01
- Play 商店的设备兼容性问题 2022-01-01
