UINavigationController “back button” custom text?

后端 未结 16 1497
Happy的楠姐
Happy的楠姐 2020-11-28 01:41

The \"back button\" of a UINavigationController by default shows the title of the last view in the stack. Is there a way to have custom text in the back button

16条回答
  •  南笙
    南笙 (楼主)
    2020-11-28 02:14

    Doing this in code remove the back button style of the UINavigationConroller. If you add a Navigation Item in each of yours views, you can set the title of the back botton in the StoryBoard.

提交回复
热议问题