0
UINavigationBar
backButton的標題更改方向時更改。UINavigationBar後退按鈕標題方向更改
FirstViewController
標題
This.Title = "FirstScreenTitle";
SecondViewController
標題
This.Title = "SecondScreenTitle"
當導航從FirstViewController
縱向顯示模式SecondViewController
它顯示導航後退按鈕標題爲 「回」。
更改方向SecondViewController
導航後退按鈕標題名稱更改回FirstScreenTitle
。
如果你沒有找到任何關鍵字'This'用於iOS –
正確,格式爲self.title –
你在哪裏設置你的self.tile =「FirstScreenTitle」; – Rajesh