In a navigation controller, you automatically get the correct colour and position of a navigation bar as expected.
like this
But in modal view, when you drag in a navigation bar, you can position it right at the top, which is too close to the carrier / battery info.
So you can drag it down, guess how far so it matches the position of the automatically created one, but then you have a colour discrepancy. I have tried changing status bar settings in IB, doesnt make a difference.
Is there a correct way to do overcome this, as in make a modal view look like the auto generated nav view.
Thanks
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…