سؤال

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