离子转换仅在ios中获得白页 [英] Ionic transitions getting white page only in ios
本文介绍了离子转换仅在ios中获得白页的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
感谢任何帮助。
解决方案
最后,我解决它,这是一个在ios中进行离子转换的问题。将这行添加到app.js中的配置中,就像这样
.config(函数($ stateProvider,$ urlRouterProvider,$ ionicConfigProvider){
$ ionicConfigProvider.views.swipeBackEnabled(false);
}
全部禁用后面的导航过渡与滑动。
Im developing an app in ionic and its working perfectly fine in android, emulators and web (with ionic serve). But when is running in ios devices in transitions between pages suddenly it shows a white view instead the view that it have to display. This doesn't happen all time and i didn't figured out when specifically happen.
I appreciate any help.
解决方案
Finally I resolve it, it was a problem with transitions of ionic in ios. Adding this line to config in app.js like this
.config(function($stateProvider, $urlRouterProvider, $ionicConfigProvider) {
$ionicConfigProvider.views.swipeBackEnabled(false);
}
Disable all back navigations transitions with swipe.
这篇关于离子转换仅在ios中获得白页的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文