In my app I have developed custom activity.When user click on more options , it shows the list of activities app.In that list iOS is showing only name of my app , icon is not coming.How to provide the icon for that.
Asked
Active
Viewed 88 times
0
-
I have implemented that and that image is coming properly, but if user click on more option then iOS display list of app that have that capability, in that page , icon is not coming. – Aashish Nagar Mar 16 '17 at 11:42
-
Why UIActivity is coming in that more list ?? – Aashish Nagar Mar 21 '17 at 06:28
1 Answers
0
You will need to create a separate asset catalog in your share extensions folder and reference that one in your share extension target. or add main apps asset to Share extension target.
- Select (extension) Project -> Goto "Build Phase"
- Expands "Compile Source"
- Add "images.xcassests" (asset where you appicon is ) of your main project
- Rebuild and run.

PlusInfosys
- 3,416
- 1
- 19
- 33
-
I did not create any extension , just created a activity ( subclass of UIActivity). – Aashish Nagar Mar 16 '17 at 11:38