Re: [iPhone] can't get views not to slide off by the height of the status bar
Re: [iPhone] can't get views not to slide off by the height of the status bar
- Subject: Re: [iPhone] can't get views not to slide off by the height of the status bar
- From: WT <email@hidden>
- Date: Tue, 25 Jan 2011 21:07:29 -0200
On Jan 25, 2011, at 8:30 PM, Matt Neuburg wrote:
> Here are the ways you can use a tabbed interface, pasted in from the docs:
>
> • Install it directly in your application’s main window.
> • Install it as one of the two root views in a split view interface. (iPad only)
> • Present it modally to display some data that requires its own mode-based organization.
> • Display it from a popover. (iPad only)
>
> The global results and statistics tab bar is the *first* way. The results and statistics for the particular experiment is the *third* way; "some data that requires its own mode-based organization" describes perfectly what it is.
>
> You can thus structure your entire interface straight from nibs with almost no code at all doing everything by the book. The code would come in as you're about to show the modal interface; you'd populate it with the data and appropriate tabs for the particular experiment the user is about to see.
Yes, that was my first design. I agree that it's the most intuitive for the app at hand. However, there are some client requirements that led me to consider the other approach. I'm not sold on the design I'm proposing. I'm merely exploring options at the moment, working with the client to come to a solution that works, is easy to code, won't get rejected when the app is submitted, and yet satisfies the client.
I now have a pretty straight-forward test solution based on the design of my original message (see project here, if interested: <http://www.restlessbrain.com/NavTest_done.zip>). Its only problem, so far as I can tell, is that it shows the status bar gap when the device is turned upside down, something that Dave Carrigan had mentioned in his first message in this thread. If that's the only problem and if the client insists in going this route, I'll have to either fix the rotation (hard) or not show the status bar (easy, but not as nice).
Believe me, I don't want to waste time trying to get around the API. I'm not doing this merely for fun.
WT_______________________________________________
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