I want to be able to have social icons in a scrollView, which when clicked, functions the same way it would if I had clicked on them after presenting a UIActivityViewController.
Yodel : They have made their own custom view, and they have picked some common apps like whatsapp,snapchat,messenger etc for which openurl common, they have checked each one by using "canOpenUrl" to check whether given app is available on user's mobile. If available then show its icon. When user clicks on it, it will open given app by using "openUrl".
Here, In yodel you can see that, it is not able to take all the available sharing apps, it is only able to predefined fix apps they have defined. For other apps, they have added "more button" at end, which on clicking will open UIActivityViewController .