“back” text displayed in iOS7 UINavigationBar when view title is long

后端 未结 4 1638
萌比男神i
萌比男神i 2020-12-16 21:54

In my application,I need to show the previous viewController title to current viewController back title.

Its working perfectly in iOS6.

In iOS7,automaticall

4条回答
  •  情话喂你
    2020-12-16 22:18

    Due to low reputation I cannot add a comment so I'm posting an answer while this is not actually an answer.

    But,

    self.navigationController.navigationBar.topItem.title = @"";
    

    which is written in one of the answers, is equivalent to:

    self.title = @"";
    

提交回复
热议问题