开发者

UINavigationItem - Removed "prompt", but extra space for prompt still appears

开发者 https://www.devze.com 2023-03-15 20:55 出处:网络
So, I had a UINavigationItem with a value for the \"prompt\" property (which shows the smaller text along the top of the bar).

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).

UINavigationItem - Removed "prompt", but extra space for prompt still appears


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.

0

精彩评论

暂无评论...
验证码 换一张
取 消