Re: a bug in iphone SDK's creation of view based xib files.
Re: a bug in iphone SDK's creation of view based xib files.
- Subject: Re: a bug in iphone SDK's creation of view based xib files.
- From: Roland King <email@hidden>
- Date: Thu, 3 Sep 2009 21:10:57 +0800
On 03-Sep-2009, at 8:49 PM, jon wrote:
On Sep 3, 2009, at 6:37 AM, Roland King wrote:
I didn't know the status bar was in there, either way that's not
the way you do it
I realize after you just reminded me, that i had said that wrong,
I did edit the plist file, rather than the XIB file to disable the
status bar. it would seem though, that setting the status bar to
"none" in IB should somehow make this change for you, so running it
in the simulator, you would get the expected behavior that is
present in IB... but I guess it just is not yet a perfect world.
I think version 7 of the SDK will become the perfect world :0)
Jon.
I don't think so. The status bar is an application-level attribute,
not a window-level attribute. IB is just being kind to you, you could
just have a line in the documentation which tells you if your
application has a status bar then you must remember to make all your
windows 20 pixels smaller in whatever direction you choose to be 'y'
for your application but instead it puts a bar in there, and even lets
you colour it so you can see how ugly your window looks, and believe
me, mine are vile. In app you can have a mixture of portrait,
landscape, with and without status bar views and windows, you can even
make the views 1000 pixels in each direction .. none of this has any
bearing on your app which is responsible for configuring itself
appropriately for the view it's displaying, sizing it, rotating it
and, if necessary, turning the status bar on and off.
IB is a design tool, much like DrawIt which I use for making the
terrible graphics I use to go with my vile looking windows (my fault
entirely, not DrawIt!s, I'm just artistically challenged). Just
because I draw and import an image of a cow doesn't mean my
application will automatically go moo.
Anyway I'm sorry I wandered off the original topic and I don't have an
answer to that, but I've sure never needed to edit a XIB by hand. Be
interested to hear what reply you get to your bug report.
_______________________________________________
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