Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

iOS Navigation Breadcrumb Trail [closed]

Tags:

ios

iphone

ipad

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?

alt text

like image 831
Brandon Schlenker Avatar asked Oct 27 '10 17:10

Brandon Schlenker


2 Answers

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

like image 109
Deniz Mert Edincik Avatar answered Oct 28 '22 21:10

Deniz Mert Edincik


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.

like image 36
Oliver Avatar answered Oct 28 '22 22:10

Oliver