Turning off the status bar in Xcode does not work in iPad

Asked By 0 points N/A Posted on -
qa-featured

Techvy,

I have a question.  After turning off the status bar, Xcode told me that it won't work in iPad. I would also like to switch off the status bar in my other UIKit based code.

How does Cocos2D do this? 

Kindly reply urgently.

David

SHARE
Best Answer by Thompson Locker
Best Answer
Best Answer
Answered By 0 points N/A #120798

Turning off the status bar in Xcode does not work in iPad

qa-featured

It is very quite lengthy procedure that you will have to follow for you to make your status bar to work in ipad by making changes in the xcode. But before that here are some heads up on the things that you might need to know about using the xcode.

You can use the xcode for activities as the following ones:

  • Writing code.
  • Debugging problems that may be affecting applications like the one with the status bar right now.
  • Designing user interfaces.

And therefore you should be able to edit the code so that you can fix all issues that are arising and affecting the applications of the iPad. For the status bar, you will need to follow the link for a detailed process of how to solve that problem:

Regards
Thompson Locker

Answered By 0 points N/A #120800

Turning off the status bar in Xcode does not work in iPad

qa-featured

Hello,

You need to adjust the spring settings of the content views and its subviews appropriately.If you are creating the view programatically,then set the 'autoresizingMask' accordingly to the respective views.When creating the view in the applicationDidFinishLaunching function;most of apples example code use

myView = [[UIView alloc] initWithFrame:[[UIScreen mainscreen] applicationFrame]];

If you are creating the view like this then try switching 'applicationFrame' to 'bounds'.This should fill the entire screen with your view.hope it helps you out from your problem.

Thank you.

Login/Register to Answer

Related Questions