iOS Navigation Breadcrumb Trail [closed]
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 questionBasically, 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?
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.
精彩评论