Restoring navigationItem.title after removing navigationItem.titleView

前端 未结 1 664
野性不改
野性不改 2021-02-20 12:42

My App has 2 tabs (tabA and tabB), based on location the I set the navigationItem.titleView of tabB<

1条回答
  •  囚心锁ツ
    2021-02-20 13:23

    Simply setting:

    navigationItem.titleView = nil;
    

    Will restore the text title.

    0 讨论(0)
提交回复
热议问题