In my UINavigationBar: didPopItem:
function the navigation bar's _itemStack
has n items in it, shown in the debugger, but the .items
accessor function returns an array with n-1 items in it, missing the current navigation item, which is what I want to check. backItem
returns the n-2 item instead of the n-1, etc. The didPopItem
item is the 'n+1' item so that doesn't help either.
How do I access the current UINavigationItem?
I'm using the iPhone 3.0 SDK.