简体   繁体   English

在iOS上启动PhotoBooth的自定义URL方案是什么?

[英]What is the custom url scheme to launch PhotoBooth on iOS?

I wish to launch PhotoBooth on iOS from a webpage using a link. 我希望使用链接从网页上在iOS上启动PhotoBooth。 I believe the best way to do so is to use a custom url scheme. 我相信最好的方法是使用自定义网址方案。 But I can't seem to find one for Photobooth documented anywhere. 但是我似乎在任何地方都找不到用于Photobooth的文件。 Any ideas? 有任何想法吗?

I don't know anything about PhotoBooth, but if you have a jailbroken device , you would be able to reverse engineer what the URL scheme is (of any app). 我对PhotoBooth一无所知,但如果您有越狱的设备 ,则可以对任何应用程序的URL方案进行反向工程。

  1. ssh into your phone ssh到您的手机
  2. navigate to the location where the app is installed (for example /var/mobile/Applications/*/PhotoBooth.app ) 导航到应用程序的安装位置(例如/var/mobile/Applications/*/PhotoBooth.app
  3. if you have the plutil utility installed (get from Cydia), then run plutil Info.plist on the plist file that's inside the PhotoBooth.app folder. 如果已安装plutil实用程序(从Cydia获取),请在PhotoBooth.app文件夹内的plist文件上运行plutil Info.plist
  4. if you don't have plutil , then just scp the Info.plist file back to your Mac, and then open it with the OS X Property List Editor app. 如果你没有plutil ,那么就scp的Info.plist文件回你的Mac,然后用OS X 属性列表编辑应用程序打开它。
  5. inside the Info.plist you should find information about the custom URL scheme, if it supports one. 在Info.plist内,您应该找到有关自定义URL方案的信息(如果支持的话)。
  6. that will at least tell you if a custom URL scheme is supported, and a little about it. 至少可以告诉您是否支持自定义URL方案,以及有关它的一些信息。 from there, you might be in better position to do some more web searching 从那里,您可能更适合做一些网络搜索

See here for more information about what the Info.plist would have, regarding URL schemes (the example uses a todolist:// protocol) 有关URL方案 (有关示例使用todolist://协议)的更多信息,请参见此处,有关Info.plist的内容。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM