Re: iOS - Hide Master view in a split view

2011-03-25 Thread Matt Neuburg
On Thu, 24 Mar 2011 17:27:51 -0400, Eric Gorr said: >I am trying to figure out how to hide the master view in a split view while in >landscape mode. If you're talking about a UISplitView, then what you're trying to do would not be a UISplitView. So you have two choices: (1) Don't use a UISpli

Re: iOS - Hide Master view in a split view

2011-03-24 Thread WT
On Mar 24, 2011, at 8:18 PM, Eric Gorr wrote: >> On Mar 24, 2011, at 7:11 PM, WT wrote: >> >> I just ran a very quick test and the following code snippet successfully >> toggles between showing and hiding the master view: >> >> UIViewController* vc; >> vc = [splitViewController.viewControllers

Re: iOS - Hide Master view in a split view

2011-03-24 Thread Eric Gorr
Sent from my iPhone On Mar 24, 2011, at 7:11 PM, WT wrote: > On Mar 24, 2011, at 6:27 PM, Eric Gorr wrote: > >> I am trying to figure out how to hide the master view in a split view while >> in landscape mode. Searching, I found the suggestion to try: >> >> [[master view] setFrame:CGRectMak

Re: iOS - Hide Master view in a split view

2011-03-24 Thread Conrad Shultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 3/24/11 4:11 PM, WT wrote: > On Mar 24, 2011, at 6:27 PM, Eric Gorr wrote: > >> I am trying to figure out how to hide the master view in a split view while >> in landscape mode. Searching, I found the suggestion to try: You could also look at MGS

Re: iOS - Hide Master view in a split view

2011-03-24 Thread WT
On Mar 24, 2011, at 6:27 PM, Eric Gorr wrote: > I am trying to figure out how to hide the master view in a split view while > in landscape mode. Searching, I found the suggestion to try: > > [[master view] setFrame:CGRectMake(0, 0, 0, 0)]; > [[detail view] setFrame:splitBounds]; > > Howev

iOS - Hide Master view in a split view

2011-03-24 Thread Eric Gorr
I am trying to figure out how to hide the master view in a split view while in landscape mode. Searching, I found the suggestion to try: [[master view] setFrame:CGRectMake(0, 0, 0, 0)]; [[detail view] setFrame:splitBounds]; However, this does not appear to work. What is the recommend me