开发者

creating new view in iPhone application

开发者 https://www.devze.com 2023-02-15 08:11 出处:网络
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 w

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

精彩评论

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