开发者

Sibling UIViewController Navigation

开发者 https://www.devze.com 2022-12-29 00:20 出处:网络
would anybody care to comment on this piece of code? It allows you to do \"prev\" or \"next\" once in the detail view of a uiviewcontroller.

would anybody care to comment on this piece of code?

It allows you to do "prev" or "next" once in the detail view of a uiviewcontroller.

So, if you have 4 uiviewcontrollers, you can navigate from #3 to #2 with previous or #3 to #4 with next. It works, but, my question is, is this the best way to implement this? or, is there a better way.

http://github.com/joop23/开发者_如何学CUIViewController


You might take a moment to read the documentation before making your own navigation code. The -setViewControllers:animated: method addresses rearranging or moving within the navigation stack.

0

精彩评论

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