开发者

iOS Navigation Breadcrumb Trail [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.

We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.

Closed 7 years ago.

开发者_开发问答 Improve this question

Basically, I have a client that wants a breadcrumb trail implemented in the navigation bar. I realize Apple doesn't recommend this behavior, but the app I'm building is for internal use only and won't be submitted to the App Store.

I need something along the lines of what AirVideo uses in their iPad App. Are there any navigation controllers that provide this functionality or any other code available?

iOS Navigation Breadcrumb Trail [closed]


I have done similar, but unfortunately I cannot share any code, as it is bound by NDA. But I can guide you for an easy solution.

  • Use UIWebView for breadcrumb.
  • Use CSS to show your items (like http://www.jankoatwarpspeed.com/examples/breadcrumb/#) which are enumerated from UIViewController stack
  • Give links, custom schema linkes, like (controller://1, controller://2 etc)
  • handle UIWebView requests, and use popToViewController of UINavigationController to change to selected controller

that's it

hope this helps


I think you'd have to create your own custom View Controller that holds a reference to the other views, and draws the buttons how you want.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜