Pergunta

I use voice recognition in my app. Is there a way to notify the user on a relaunch after an initial start that voice recognition is on or can I turn it off on a relaunch? Is there a way to test for a relaunch?

Foi útil?

Solução

There are various methods to track the application lifecycle. You are probably interested in applicationWillEnterForeground:

See here for reference.

Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top