Search code examples
ioscocoa-touchios6uiactivity

UIActivity with custom image


Is there any way to made UIActivity to display custom images? By default it created metal-style-icons. Is there any way to disable it?

Secondly, can I use UIActivity instead of UIActionSheet? Are there any guidelines when it should (not) be used?


Solution

  • Custom UIActivity only displays grayscale images. Yes, you can use UIActivityViewController instead of UIActionSheet, but you have to create every UIActivity for that by yourself. Here is the nice way to create your own UIActivity: How can I create a custom UIActivity and UIActivityProvider in iOS 6?

    When and how to use UIActivity depends on yourself. Good Luck!