简体   繁体   English

如何在iOS中从我的应用程序获取所有消息传递应用程序列表

[英]How to get List of All messaging Apps from my app in iOS

在此处输入图片说明 Presently I am using MFMessageComposeViewController to send messages. 目前,我正在使用MFMessageComposeViewController发送消息。 But now i want to provide an option like via some other Apps like Skype, whats Apps etc. Is there any Public API to get list those Apps including App icon and App name and how to redirect to those Apps. 但是现在我想提供一个选项,例如通过Skype,Whats Apps等其他应用程序。是否有任何公共API可以列出这些应用程序,包括应用程序图标和应用程序名称以及如何重定向到这些应用程序。 Thanks in Advance. 提前致谢。

What you are trying to do works the other way around. 您正在尝试做的事情反过来起作用。

You will never be able to find out what apps the user has on a device. 您将永远无法找到用户在设备上拥有哪些应用程序。

I assume you are talking about the options in a UIActivityViewController ? 我假设您正在谈论UIActivityViewController的选项?

In that case, what you do is provide content for activity view controller (text, image, url, etc...) and the activity view controller will then present any apps that can deal with the content you have provided. 在这种情况下,您要做的就是为活动视图控制器提供内容(文本,图像,URL等),然后活动视图控制器将显示可以处理您提供的内容的所有应用程序。

For instance, if you provide an image you'll get camera roll, email, Facebook, etc. 例如,如果您提供图像,则会得到相机胶卷,电子邮件,Facebook等。

If you provide text and image you'll get email, messages, etc... 如果您提供文字和图片,则会收到电子邮件,消息等。

If you provide text under 140 chars you'll get twitter. 如果您提供的字符数不超过140个字符,则您将获得Twitter。 If it's over 140 chars you won't get twitter. 如果超过140个字符,您将不会收到Twitter。

暂无
暂无

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

相关问题 如何在一个iOS应用程序中列出所有现有的iOS应用程序以及从那里下载的选项 - How to List all exisiting iOS apps in one iOS app and option to download from there 从ios 7和8中的通知中心将所有应用程序通知警报发送到我的应用程序的方法是什么 - what is the way to get all apps notification alerts to my app from notification centre in ios 7 & 8 iOS 8 - 如何确定前台应用程序以及获取正在运行的应用程序列表 - iOS 8 - How to determine the foreground app as well as get list of running apps iPhone/iOS:如何获取我的应用本地化的所有语言的本地化字符串列表? - iPhone/iOS: How can I get a list of localized strings in all the languages my app is localized in? 如何阅读iOS上安装的所有应用程序的列表 - How to read list of all apps installed on iOS 如何在我的应用程序中将我的iOS应用程序列表显示到表视图控制器? - How to display my iOS apps list to table view controller in my app? 有没有合法的方法从我的应用程序中获取iOS设备上所有已安装的应用程序? - Is there a legal way of obtaining all installed apps on an iOS device from within my app? 如何从我的应用程序中获取所有书签 - how to get all bookmarks from my app 如何获取所有已安装的路由应用程序的列表? - How to get a list of all installed routing apps? 如何使用 Flutter 中的所有可用消息应用程序发送应用程序推荐消息 - How to send app referal message using all available messaging apps in Flutter
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM