简体   繁体   English

使用 pwa angular 在 ios 中打开新标签/窗口

[英]open new tab/window in ios with pwa angular

I want to open new tab/window in browser with my pwa project.我想用我的 pwa 项目在浏览器中打开新标签/窗口。
I use following codes for this purpose :为此,我使用以下代码:

window.open(url,'_system');
window.open(url,'_blank');
window.location.href=url;
document.location.href=url;

The first two lines worked find in andoroid.前两行在andoroid中找到了。
But none of them worked in ios.但是他们都没有在ios中工作。
how to resolve this problem in ios ?如何在ios中解决这个问题?

在 IOS 12.2 及更高版本中,您无法在浏览器中打开外部链接(新标签页等)

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM