Pregunta

I am trying to share some text from an application. If the user has ios 6 installed I will call UIActivityViewController to share. However if the user has ios 5 is there anything similar i can call that would have buttons to share to mail and twitter....?

¿Fue útil?

Solución

There is no built-in way to do this. The easiest way is to use a UIActionSheet with buttons for each service you need, and then call through to the various APIs as required.

Otros consejos

use OWActivityViewController instead UIActivityViewController in ios 5 you can check it Here

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