In my app using Ionic with the iOS platform, I am trying to achieve a specific layout:
- A header
- A fixed bar button
- A scrollable list
Here is what I have attempted so far:
<ion-view view-title="Account">
<div class="button-bar" style="margin-top:66px;">
<a class="button">Item 1</a>
<a class="button">Item 2</a>
<a class="button">Item 3</a>
</div>
...
However, when I run ionic emulate ios, the bar button does not appear in the iPhone simulator (possibly due to being behind the header bar).
To address this, I tried adding a margin-top:
<div class="button-bar" style="margin-top:44px;">
Now the button is visible, but a part of the header bar still overlaps it. Could this be related to the status bar? What is the combined height of the status bar and header bar on an iOS device?
Additionally, to make only the list scrollable, should I add a <ion-content> after the button-bar div?