简体   繁体   English

是否可以获取有关其他已安装的iOS应用程序的信息?

[英]Is it possible to get info on other installed iOS apps?

Is it possible to read the contents of another application installed on an iPhone? 是否可以读取iPhone上安装的其他应用程序的内容? What about from an extension or keyboard? 从扩展程序或键盘呢?

I'm trying to come up with something that 'checks' other apps to see if they have any deep links (like Twitter's Twitter://timeline that takes users straight to the timeline in the Twitter app). 我正在尝试提出一种“检查”其他应用程序的方法,以查看它们是否具有任何深层链接(例如Twitter的Twitter:// timeline,使用户直接进入Twitter应用程序中的时间线)。

  1. Is there any smart way to check a given app for deep links? 有什么聪明的方法可以检查给定应用程序的深层链接?
  2. Is it even possible to peek at another app's contents from within my app? 甚至可以从我的应用程序中窥视另一个应用程序的内容吗? I suspect no. 我怀疑没有。
  3. If no, what about making a keyboard or extension of some sort that I can access from an app like Twitter and see its contents, such as a URL deep link? 如果没有,那么如何制作可以从Twitter等应用程序访问并查看其内容(例如URL深度链接)的某种键盘或扩展程序呢?

You don't have much options, you may use -canOpenURL: , but, since iOS9, must include special credentails listing all the custom schemes you want to check. 您没有太多选择,可以使用-canOpenURL:但是, 由于iOS9,必须包含特殊的credentails,列出您要检查的所有自定义方案。

You can't read other app's contents on a non-rooted device unless this app is sharing a keychain (so it can exchange data via the shared keychain). 除非该应用程序共享钥匙串(因此它可以通过共享的钥匙串交换数据),否则您无法在非根设备上读取其他应用程序的内容。 The same thing goes with extensions. 扩展也一样。

iOS has some high bars on security, so, don't expect much or even, anything. iOS在安全性方面有很高的要求,因此不要期望太多甚至什么都没有。

Something you may want is IntentKit . 您可能想要的是IntentKit Also there are ideas around the web about standard url query format like MobileDeepLinking . 网络上也有关于标准URL查询格式(例如MobileDeepLinking)的想法。

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

相关问题 是否可以在 ios 中获取已安装的应用程序 - Is it possible to get installed apps in ios 如何在 iOS 中获取已安装应用程序及其信息(ID、版本、名称)的列表? - How to get list of installed apps and their info (id,version,name) in iOS? iOS应用程序是否有可能列出其他已安装应用程序? - Is it possible for an iOS app so the a list of other installed apps? 在iOS应用商店中动态获取有关其他应用的信息 - Dynamically get info about other apps in app store in iOS 如何以编程方式在 iOS 中访问其他已安装应用的 info.plist? - How do I access other installed apps' info.plist in iOS programmatically? 是否有可能从iOS中的其他应用获取设备的最后已知位置 - Is it Possible to get last known location of device from other apps in iOS 是否可以在iOS中读取已安装应用的info.plist? - Is it possible to read an installed app's info.plist in iOS? 如何检查我的其他应用程序是否安装在iOS 10上? - How to check if my other apps are installed on iOS 10? 我的 IOS 应用程序用于监控其他已安装应用程序的使用情况 - My IOS app to monitor usage of other installed apps iOS:是否可以读取/清除iPhone中安装的所有应用程序的通知? - iOS : Is it possible to read/clear notification of all apps installed in iPhone?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM