All types of extensions use the application icon, with the exception of the action extension. Apple documentation says the following:
On iOS, the Action custom extension uses the template version of its containing the application icon that you must provide.
However, it does not say how you should provide the icon. It says:
For information on how to add an icon to an application extension, see Creating an asset catalog and adding an application icon or launching a Set image.
But the links to “Creating an asset catalog” and “Adding an application icon” are links to how to add an icon for an application, they do not contain a section on how to add an icon specifically for an extension action.
The extension target does not contain the application icon icon in the general Xcode settings (unlike the application), therefore its icon should presumably be added through the asset catalog. However, I added an application icon image installed in the extension resources directory, but the extension icon still does not appear.
How do I add an icon to expand an action? And if it is through its asset catalog, then why doesn’t it work when I added an icon image installed in the asset catalog?
UPDATE: I found a tutorial for action extensions ( http://code.tutsplus.com/tutorials/ios-8-how-to-build-a-simple-action-extension--cms-22794 ) that says that icon can be added through target application icons and launching Images on the General tab. But the extension of the action does not have this !! (Xcode 8.6)
source share