You are using :

[self.navigationController popToRootViewControllerAnimated:TRUE];

This will bring you back to root view controller. If you want to navigate back to previous view controller,you should implement :

[self.navigationController popViewControllerAnimated:TRUE];



http://stackoverflow.com/questions/16075525/navigate-back-to-previous-view-controller
文章標籤
全站熱搜
創作者介紹
創作者 pcwiki 的頭像
pcwiki

pcwiki的部落格

pcwiki 發表在 痞客邦 留言(0) 人氣(30)