UINavigationBar - Set title programmatically?

前端 未结 11 1340
伪装坚强ぢ
伪装坚强ぢ 2020-12-24 04:24

I have a tab bar application with a different view on each tab. Each view has a UINavigationBar with title set on Interface Builder. I want to change the title based on a cl

11条回答
  •  鱼传尺愫
    2020-12-24 05:11

    Note that in order for the title to show up AT ALL the Navigation Controller's delegate MUST be set to the navigation bar itself or the title will NEVER show!

提交回复
热议问题