Quantcast
Channel: Ionic Framework - Ionic Forum
Viewing all articles
Browse latest Browse all 49186

$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 49186

Trending Articles