Find out active application or if on Springboard

2019-06-06 15:31发布

问题:

How do you find out what current active application you are in or if you are in the springboard's homepages?

回答1:

You can't do that. There is no Public API is provided by Apple to do so.

If you are looking for Private API, please check this post