简体   繁体   English

iOS状态栏与离子标题栏重叠

[英]Ios Status bar overlaps ionic header bar

I'm working on a Ionic app and i'm stuck since 3 hours with this statusbar: 我正在开发Ionic应用程序,并且从3个小时以来一直在使用此状态栏:

在此处输入图片说明

This is what i have in this view: 这就是我的看法:

<header-bar title="'Öffnungszeiten'" type="bar-energized" left-buttons="leftButtons" align-title="center"></header-bar>
<view>
  <content class="has-header bgstart">
    <input type="text" ng-model="searchBox" class="search" placeholder="Suchen...">

    <div ng-repeat="item in posts | filter:searchBox" class="card">
      <h3 ss="w">{{item.storeName}}</h3>
      <p class="w">{{item.openingHours[0]}}<br>{{item.openingHours[1]}}
        <br>
        {{item.openingHours[2]}}<br>
        {{item.openingHours[3]}}
        <br>
        {{item.openingHours[4]}}<br>
        {{item.openingHours[5]}}<br>
        {{item.openingHours[6]}}<br></p>
      <p class="c">
        <a href="tel:{{item.phone}}">
          <i class="fa fa-phone fa-lg">
            {{item.phone}}</i>
        </a>
      </p>

      <p class="c">
        <a href="tel:{{item.phone}}">
          <i class="fa fa-map fa-lg">
            {{item.address}}</i>
        </a>
      </p>

    </content>
  </view>

Any help much appreciated! 任何帮助,不胜感激!

确保您的应用程序的meta标签中包含viewport-fit = cover

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM