iOS nav swipe to go back doesn't work

I have implemented a series of views where I want to be able to utilize the native iOS swipe right to be able to progress back through the navigation. This worked for a little while, but now it won’t work any more. Any information that you may have would be appreciated. My templates are below:

body

<body ng-app="whoPaidLast">
     <ion-nav-bar class="bar-stable white-text teal darken-1">
         <ion-nav-back-button class="button-clear">
            <i class="ion-chevron-left"></i> Back
         </ion-nav-back-button>
      </ion-nav-bar>
   <ion-nav-view></ion-nav-view>
</body>

my first view

<ion-view view-title="Who paid last...">
	<ion-nav-buttons side="right">
	    <a href="#/preferences" class="button button-icon icon ion-gear-a"></a>
	</ion-nav-buttons>
	<ion-content class="padding background">
		<div class="card">
			<div class="item item-text-wrap">
				<div class="switcher"></div>
				<div class="text-box">
					<div class="name">
						Doug Niccum
					</div>
					<div class="timestamp">
						Updated: Feb 14, 2015
					</div>
				</div>
				<div class="clear"></div>
				<button ng-click="showAction()" class="button button-icon icon ion-android-delete delete-button waves-effect waves-light btn-flat"></button>
			</div>
		</div>
	</ion-content>
	<div class="fixed-action-btn" style="bottom: 16px; right: 24px;">
		<a ng-click="showAddContact()" class="btn-floating btn-large waves-light teal lighten-2">
			<i class="large mdi-content-add"></i>
		</a>
	</div>
</ion-view>

and my second view. This is the view that doesn’t go back when you swipe right:

<ion-view view-title="Preferences" ng-init="getPreferenceData()" cache-view="false">
	<ion-content>
		<div class="list">
			<a class="item" href="#/preferences/edit-user-name">
				Your Name
				<span class="item-note">
					<span ng-bind="userName.firstName"></span> <span ng-bind="userName.lastName"></span>
			    </span>
			</a>
		</div>
	</ion-content>
</ion-view>
1 Like

I’ve got the exact same problem. If I remove the ion-nav-buttons directive, than the swipe does work again.