The exception I mentioned earlier can be seen here: http://codepen.io/bgrossi/pen/JtvsL
and uses an angular directive to achieve the desired outcome. Unfortunately this isn’t compatible with latest versions of Ionics, but presumably it wouldn’t take too much to fix.
I’d like to know if this is the best way to solve the problem.
I had linked to that project in my OP. That particular solution is only compatible with IOS8 & Android 4.4. it also wasn’t working with latest ionic release for some reason.
The code ysrael put forward seems to work well enough for my requirements - at first glance at least!
The easiest way i have found is just replacing the existing header bar by adding hide-nav-bar=“true” and creating a new one of your own <ion-view class="perks-feed-view" hide-back-button="true" hide-nav-bar="true"> <ion-header-bar class="bar-dark bar bar-header"> <div class="buttons buttons-left header-item"> <span class="left-buttons"> <button class="button button-icon button-clear ion-ios-drag" menu-toggle="left"> </button> </span> </div> <div class="item item-input-inset"> <label class="item-input-wrapper"> <input type="text" placeholder="Search Business"> </label> <span class="button button-small" ng-click="filterFeed()"> <i class="icon ion-search placeholder-icon"></i> </span> <span class="button button-small" ng-click="filterFeed()"> <i class="icon ion-ios-albums-outline placeholder-icon"></i> </span> </div> </ion-header-bar> <ion-content>
Hi, I tried the code in my application… Everything’s working fine. But the search icon isn’t displaying in iOS, however for android its working fine. Please any suggestions.