Hi, I have a problem when I compile for iOS does not follow the CSS rules as margin-top
and padding-top
. I’m using the bar-header
and bar-subheader
, and ion-content
using the has-header
classes and has-subheader
. But this error only occurs when it is built into iOS, but does not occur on Android and Browser.
<ion-view view-title="Example" hide-nav-bar="true">
<ion-header-bar align-title="center" class="bar bar-header bar-positive" ng-show="select">
<button class="button bar-header-scopi" ng-click="toggleSelect()">Cancelar</button>
<h1 class="title font-14">Example</h1>
<button class="button bar-header-scopi button-right" ng-click="editSelected()">Editar</button>
</ion-header-bar>
<div class="bar bar-subheader size-subheader bg-scopi">
<a class="left" ng-click="toggleSelect()" style="">Selecionar</a>
<p class="right">Filtro: {{ status(filter.status) }}</p>
</div>
<ion-content ion-sticky class="has-header has-subheader">
<div class="list">
<div class="item item-divider">
Atualizado <span am-time-ago="loadedAt"></span>
</div>
</div>
</ion-content>
</ion-view>