Status bar ios

not always working when compile to the device
how to solve thsi?