OS detection event


Is there any way to detect when ionic does the OS detectiong phase? I mean on IOS after the app was loaded the header element gets a padding top i think, in order to make space for ios info (hours, batery, etc…). So im calculating the visual space remaining on the screen and set that value to the ionicScroll directive, when i make the calculations the header is still without the padding and then it add’s some padding to fit the ios info.

  • Is there a way to detect this change?

I can’t find anything on the docs.