UIActivityViewController equivalent on ios 5
-
21-07-2021 - |
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....?
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