在 iPhone 中默认照片应用程序的 UIActionSheet 中显示我的应用程序
我的应用程序已注册某些文件类型,图像 + pdf 等,遵循指南 由苹果公司提供。当遇到 pdf 文件时,我的应用程序确实会显示(“打开方式”选项) 在 mobile-safari 中,但图像文件并非如此。在默认的“照片”中 苹果提供的应用程序,“打开方式”选项不显示。大概这是因为 它是在不使用文档交互控制器的情况下实现的。但有没有 使我的应用程序出现在 UIActionSheet 按钮中的方法,该按钮出现在左下角 角落 ?
我不想使用 UIImagePickerController 来选择保存的图像。
My app is registered for certain file types, images + pdf etc, following the guidelines
provided by Apple. My app does show up("open in" option) when pdf files are encountered
in mobile-safari, but it is not the case with image files. In the default "Photos"
app provided by apple, the "open in" option does not show up. Probably this is because
it is implemented without using the document interaction controller. But is there any
way to make my app appear in the UIActionSheet button, which appears at the bottom left
corner ?
I do not want to use the UIImagePickerController for choosing the saved images.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您唯一能做的就是将此键值对添加到您的 info.plist 文件中。 iPhone 将图片保存为“.JPG”,因此您应该将其设置为文件类型。
(如果它没有出现在“照片”操作表中,则意味着苹果不希望它出现。您只能希望有一天......)
ps更多信息和详细说明在这里:
注册您的应用支持的文件类型
the only thing you can do is add this key-value pair to your info.plist file. iPhone saves pictures in ".JPG", so that's what you should put as the file type.
(if it doesn't appear in Photos action sheet, that means that Apple doesn't want it to appear. You'll just have to hope that some day...)
p.s. more information and detailed instructions here:
Registering the File Types Your App Supports