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