Ionic iOS Publishing settings Header-bar height is invalid

Source: Internet
Author: User

In the company app release process found that once the height of the Header-bar has been changed in iOS or through the Ionic build browser generated Web page open is not normal

Chrome's view tool found that the style you wrote was directly overwritten.

Ionic build Browser Web page modification method is to remove the Platform-cordova style after the normal display, but under the iOS can not be processed,

Processing method Reference Address Http://stackoverflow.com/questions/30564530/ionic-ios-header-padding-removal?answertab=active#tab-top

@Karan Kumar's Answer

Add the following node in CONFIG.

<preference name= "Statusbaroverlayswebview" value= "false"/>

Add the following code to the $ionicplatform.ready of the run file:

Ionic. Platform.fullscreen (truetrue);

If that doesn't work, you need to reinstall the StatusBar plugin.

  

Ionic iOS Publishing settings Header-bar height is invalid

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.