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.
精彩评论