Say I have UITableViewController A, and UITableViewController B. Both
A and B loads UIView C. At the back button in C, how do I make sure it
always goes back to B, rather than where it came from?
Here is a concrete example: A=Contacts window in iphone skype. B=Chats
window, each row is a chat history with a different person C = Chat
window displays a conversation with the same person .
C can be loaded from A or B, but I want the backbutton on the Chat
window ( C ) goes back to Chats (B) window only.
Cheers.
THIS IS NOT GOOD PRACTICE and will likely prevent your app from being
accepted by apple. It violates the Human Interface Guidelines which
Apple holds to very strictly (with good reason) Personally I would be
very upset and confused if my "back" button didn't actually go "back"
I would highly sugest you either use a UITabBarController setup for
this (this is exactly how Beejive handles this) or use a button on a
UIToolBar to handle this.
> From:http://stackoverflow.com/questions/2113387/back-button-goes-back-to-a...
>
> Cheers.
I believe (although I have no real idea) that what these applications
like skype and Beejive are doing is when view A wants view C it will
message your UITabBar to move to the chats tab then push in the detail
view C. This is actually better because then the user will see that
the view has changed via the fact that the tabbar has changed
highlights.
On Jan 23, 5:02 pm, Michael Z <zhangqiuy...@gmail.com> wrote:
> From:http://stackoverflow.com/questions/2113387/back-button-goes-back-to-a...
>
> Cheers.