iOS7 StatusBar Font Color set to White

Source: Internet
Author: User

1:statusbar font is white in plist set view controller-based status bar appearance to NO; set Statusbarstyle to UIStatusBarStyleLightContent2: Set StatusBar and Navigationbar as one [Nav.navigationbar setbackgroundimage:[uiimage imagenamed:@ "Bg_navbar.png"] forbarposition:uibarpositiontopattached Barmetrics:uibarmetricsdefault]; 3:tabbaritem is selected no effect, need to call the method in SDK7://Compatible IOS7 before [Viewcontroller.tabbaritem setfinishedselectedimage: Actionmenu.selectedicon withfinishedunselectedimage:actionmenu.icon];// iOS7 Method viewController.tabBarItem.selectedImage = actionmenu.selectedicon;4: Refreshes the status bar statusbar[self Setneedsstatusbarappearanceupdate]5:navigationbar above the Barbuttonitem Word can not see the problem, Backbaritem arrow is not, you need// iOS7 set Barbuttonitem font color, it will be displayed, not including the return arrow [[Uibarbuttonitem appearance] Setbackbuttontitlepositionadjustment: Uioffsetmake (0, 0) forbarmetrics:uibarmetricsdefault];//set the Barbuttonitem color, including the return arrow [[Uinavigationbar appearance] Settintcolor:[uicolor whitecolor]];6: Cancels the IOS7 with its own gesture, Like Navigationcontroller's right slide back to Self.navigationController.interactivePopGestureRecognizer.. Enabled = NO; 

iOS7 StatusBar's font color is set to white

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.