Pregunta

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?

¿Fue útil?

Solución

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!

Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top