• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: managing split view iPad
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: managing split view iPad


  • Subject: Re: managing split view iPad
  • From: Michael Babin <email@hidden>
  • Date: Tue, 20 Jul 2010 09:53:11 -0500

On Jul 20, 2010, at 9:24 AM, Andrea Mattiuz wrote:

> with  -[UINavigationController setViewControllers:animated:]  I can "reset"
> the navigation controller on the right side, passing to this method an array
> with the only ViewController of the new view I have to represent.
> Why I can do it only at the first  tap and after that nothing changes (the
> detail view remain the same that appears after the first tap)?
> Can I also use  -[UINavigationController pushViewController:animated:]  to go
> deep in the hierarchy after I have initialized the navigation controller in
> that way? It doesn't work!

I'm picturing a set-up like the one used by the Settings app on the iPad, having a split view with a table view on the left and a navigation view on the right. Selecting an item in the table view on the left sets a new "root view" in the navigation view on the right (using setViewControllers:animated:). Selecting an item in the top view of the navigation view on the right pushes a new view onto the navigation view (through pushViewController:animated:). I don't have a sample at hand to consult, but I would expect pushing a view to work in such a situation.

Are you sure your controller code distinguishes between each situation correctly (tap on item in table view on the left vs. tap on item in top view in navigation view on the right) and handles each situation appropriately?

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >Re: managing split view iPad (From: Andrea Mattiuz <email@hidden>)

  • Prev by Date: Re: Resizing of NSTokenField
  • Next by Date: Re: Core Data caching very large property values in 10.6
  • Previous by thread: Re: managing split view iPad
  • Next by thread: Re: managing split view iPad
  • Index(es):
    • Date
    • Thread