When using the back function in android, everything is fine but it shows a blank screen in ios.
This blank screen shows up because you didn’t cache that page in your stateProvider. So if you did “cache:false” it will show a blank page.
To fix this, add the following code in your app.js file:
This blank screen shows up because you didn’t cache that page in your stateProvider. So if you did “cache:false” it will show a blank page.
To fix this, add the following code in your app.js file:
1 2 3 | .config(function($ionicConfigProvider) { $ionicConfigProvider.views.swipeBackEnabled(false); }) |
Hope this helps you out. I lost alot of time trying to fix this. I tried to change how the back button worked in xcode. Nothing sticked.
0 comments:
Post a Comment