How do you style IOS status bar?

How do you change the ios status bar from light to dark programmatically? Or in the project XML?

Are you using OpenFL? May have better luck on the forums there