Pretty simple one that I just seemingly can’t find the answer to.
How can i change the iPhone statusbar (thin bar right at the top with the reception/batter etc) from default grey to black in my PhoneGap iPhone application?
Thanks,
Glen
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
A PhoneGap-iPhone application is just a regular Xcode iPhone project.
Add
UIStatusBarStyle:UIStatusBarStyleBlackOpaqueto yourInfo.plist.MyApp.xcodeproj)Info.plistfile (e.g.MyApp-Info.plist)Status bar styleOpaque black styleIf you are viewing the RAW Key/Value pairs, then use:
You can right-click in MyApp-Info.plist to toggle the RAW Key/Value pairs.