Search code examples
iosobjective-cios7control-center

check if control center is used


My app is using internet access, and I want to know if there were used control center. If was used, I want to do some action, like start to update. I am stuck at this question. There are different guides, about "check if app is in background" or "check if wifi status changed", but no information about this. Any advices?


Solution

  • You can't do it. The most you can know is that your app was deactivated and then activated again, but you have no way of finding out why. It could be because of the control center, it could be because of the notification center, it could be because a phone call came in, it could be because the user went into the app switcher and came back again... If you think you have a use case for being able obtain this particular information, submit an enhancement request to Apple.