Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/ios/117.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
IOS白色屏幕,用于重定向到页面_Ios_Angular_Nativescript - Fatal编程技术网

IOS白色屏幕,用于重定向到页面

IOS白色屏幕,用于重定向到页面,ios,angular,nativescript,Ios,Angular,Nativescript,当我重定向到任何页面时,我都会像闪光灯一样看到白色屏幕,并显示实际页面。这一问题只发生在IOS中,而不会发生在Android中 这是我的包文件**package.json** "dependencies": { "@angular/animations": "~8.2.0", "@angular/common": "~8.2.0", "@angular/compiler": &

当我重定向到任何页面时,我都会像闪光灯一样看到白色屏幕,并显示实际页面。这一问题只发生在IOS中,而不会发生在Android中

这是我的包文件
**package.json**

"dependencies": {
"@angular/animations": "~8.2.0",
"@angular/common": "~8.2.0",
"@angular/compiler": "~8.2.0",
"@angular/core": "~8.2.0",
"@angular/forms": "~8.2.0",
"@angular/platform-browser": "~8.2.0",
"@angular/platform-browser-dynamic": "~8.2.0",
"@angular/router": "~8.2.0",
"@nstudio/nativescript-cardview": "^1.0.0",
"@nstudio/nativescript-loading-indicator": "^1.0.0",
"@nstudio/nativescript-pulltorefresh": "^1.0.1",
"@nstudio/nativescript-snackbar": "~1.0.0",
"nativescript-angular": "~8.2.0",
"nativescript-appversion": "^1.4.4",
"nativescript-datetimepicker": "^1.2.3",
"nativescript-exit": "^1.0.1",
"nativescript-fancyalert": "^3.0.8",
"nativescript-iqkeyboardmanager": "^1.5.1",
"nativescript-mediafilepicker": "^2.0.16",
"nativescript-plugin-firebase": "^10.3.3",
"nativescript-sqlite": "^2.3.3",
"nativescript-theme-core": "~1.0.6",
"nativescript-toasts": "^1.0.3",
"nativescript-ui-calendar": "5.0.0",
"nativescript-ui-sidedrawer": "~7.0.0",
"nativescript-videoplayer": "^4.2.1",
"reflect-metadata": "~0.1.12",
"rxjs": "^6.4.0",
"rxjs-compat": "^6.4.0",
"tns-core-modules": "~6.1.0",
"zone.js": "~0.9.1"
},
"devDependencies": {
"@angular/compiler-cli": "8.2.0",
"@ngtools/webpack": "8.2.0",
"codelyzer": "~4.5.0",
"nativescript-dev-webpack": "^1.4.1",
"node-sass": "^4.7.1",
"tslint": "~5.19.0",
"typescript": "~3.5.3"
}
在这个文件中,我有一个页面router outlet
app.component.html

<page-router-outlet tkMainContent class=""></page-router-outlet>
这是我的主文件夹结构

在这里,我附上我的问题视频拍摄

任何人都可以帮我解决这个问题

let navigationExtras: NavigationExtras = {
    queryParams: {
    "tabIndex": 3
    }
}
this.routerExtensions.navigate(["home"], navigationExtras);