开发者

sdk: go back action without navigation bar

I don't have have navigation bar, when I go from view 1 to view 2, there is a back button in view; When I click the back button in 开发者_JAVA百科view 2, it go back to shows view 1 again.

  • what is the best action in this case ?
  • what is the possibility to change the button to an image ?

So anyone have suggestion, thanks.


You should still use a UINavigationController, but set the nav bar to be hidden. The action of the button in view 2 should be [self.navigationController popViewControllerAnimated:YES]. You can use the button's image property to make it an image.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜