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?

有帮助吗?

解决方案

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

See here for reference.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top