Quantcast
Channel: Ionic Forum - Latest posts
Viewing all articles
Browse latest Browse all 228595

$ionicHistory.nextViewOptions not working in IOS

$
0
0

Hi

For some reason the $ionicHistory.nextViewOptions doesn't work anymore ... I want to go to an other state, but without a back button .. for example

$ionicHistory.nextViewOptions({
           disableBack: true
        });

$state.go('app.login')

When I have a button wich tries to execute that code, the simulator (and on device) just doesn't do a thing.

when I use

$state.go('app.login');

it will go to the right state, but with a back button.

I've also tried

<ion-view view-title='login' cache-view="false">

And

cache: false,

in my route $stateProvider


Viewing all articles
Browse latest Browse all 228595

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>