开发者

creating new view in iPhone application

i just finished my first view in my i开发者_开发知识库Phone app and i want to add a second view to wich the user go when he click in the button in the first view. So i add new view from the librairy window, but i don't see the battery in the top, is that normal ? and how to add it please ??


Assuming you mean the status bar along the top you can try this code to make sure it is shown:

[[UIApplication sharedApplication] setStatusBarHidden:NO];

or:

[[UIApplication sharedApplication] setStatusBarHidden:NO animated:YES];

if you want to animate it coming down.

Cheers.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜