Quantcast
Channel: Ionic Forum - Latest topics
Viewing all articles
Browse latest Browse all 70612

$ionicHistory.nextViewOptions not working in IOS

$
0
0

@coreelements wrote:

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

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 70612

Trending Articles



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