UINavigationItem - Removed "prompt", but extra space for prompt still appears
So, I had a UINavigationItem with a value for the "prompt" property (which shows the smaller text along the top of the bar).
I decided I didn't like the text, so I removed it.
But the extra space remains.
Obviously I can just recreate thi开发者_如何学运维s view... but I was wondering if anyone has seen this before, and if there is a simple fix (something akin to pressing ctrl-0 in SQL Management Studio to insert a null instead of an empty string).
For anyone interested, I just right-clicked on the .xib, and choose "Open As" > "Source Code"
Then I removed this line:
<string key="IBUIPrompt"/>
Problem solved.
精彩评论