3

When google map is using location service and we go to background then one status bar with blue flashing background with information "Google map is using your location" is coming.

enter image description here

Now when I open my application (or any other application) you always see that blue flashing bar .

My question is can I detect that status bar is with blue flashing information is active now or not programmatically?

KDeogharkar
  • 10,939
  • 7
  • 51
  • 95

1 Answers1

2

UIApplicationDelegate has these 2 methods

- (void)application:(UIApplication *)application willChangeStatusBarFrame:(CGRect)newStatusBarFrame;   // in screen coordinates
- (void)application:(UIApplication *)application didChangeStatusBarFrame:(CGRect)oldStatusBarFrame;

You can refer this link for more details.

Detecting if user has in call / Any Activity status bar

halfer
  • 19,824
  • 17
  • 99
  • 186
Manann Sseth
  • 2,745
  • 2
  • 30
  • 50