gpt4 book ai didi

ios - 操作系统 : How does the system know what app to Open when connecting an iDevice or an SD card ?

转载 作者:行者123 更新时间:2023-11-29 11:04:47 24 4
gpt4 key购买 nike

我的第一个问题很简单:系统如何知道在连接 iDevice 或 SD 卡时要打开什么应用程序?

第二个问题:我如何访问它并可能在 Cocoa 应用程序中修改它?

最佳答案

有一个名为 iTunes Helper 的进程可在连接 iDevice 时启动 iTunes。没有您可以编辑的应用列表。

对于 SD 卡,它使用的是首选项文件。您可以使用 NSUserDefaults 查看该首选项文件的内容

defaults -currentHost read com.apple.ImageCapture2

HotPlugActionArray 包含要启动的应用。

关于ios - 操作系统 : How does the system know what app to Open when connecting an iDevice or an SD card ?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/14178761/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com