简体   繁体   中英

How to get listed my ionic app in the share menu in iphone?

I have an Ionic 3 app, where in i want the app to be placed in the share list in iPhone similarly like this, 在此处输入图像描述

This Share option should be placed while the User access the gallery and then when pressed on share button my ionic app should be placed along with whatsapp, facebook etc.

I have went through so many links to find out the answer,

Make Ionic app appear in “Share” list and receive data : This will work for android phones only ( web -intent works only for android)

My app inside iMessage UIActivityViewController [duplicate] I have tried to add this answer but i didn't got the info.plist file in my folder structure.

As said before i am using Ionic 3 framework, Is there any external plugin that i need to install to add my ionic app in share list ( in iPhone ).

Is there are any suitable docs available so that i can be able to get the desired result.

Any help appreciated.

For the Ionic 3 framework, you still set up an Xcode project. These steps are nothing to do with The Framework. It's all about That Xcode project which you set up and build. If you don't Here is the Ionic link.

Now Once you have the Xcode project.

Go to File -> New -> Target

In the Application Extention section, you will see Share Extension Click and Next,

Fill the required information. Now run your application ( This will install the extension in the simulator or device ) put the app in the background and go to the gallery, open any image and click the share button. Check if you can see your application name/icon in the list. Check the following screenshots. 添加扩展的屏幕截图 检查扩展的屏幕截图

Now you need to follow apple guidelines for developing a share extension Here .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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