回答編集履歴
1
追記しました
test
CHANGED
@@ -1,3 +1,23 @@
|
|
1
1
|
[ons-tabbar](https://ja.onsen.io/v2/docs/js/ons-tabbar.html)にはpostchangeというタブが切り替わった際に発火するイベントがあるようですので、そのイベント発火時に[ons-navigator](https://ja.onsen.io/v2/docs/js/ons-navigator.html)のreplacePageメソッドでページの再読み込みを実行すれば良いかと思うのですが、ons-navigatorは利用されていないのですね・・。
|
2
2
|
|
3
3
|
画面遷移等に便利ですので、特に制限が無いようでしたら、利用されてみてはいかがでしょうか?
|
4
|
+
|
5
|
+
|
6
|
+
|
7
|
+
【追記】
|
8
|
+
|
9
|
+
元の質問は「タブ切替時にページ再読み込み」とのことですが、
|
10
|
+
|
11
|
+
下記情報によるとCordovaでのiframe利用は、iOSでは全てが遮断されてしまうとも書いてあるように思います。
|
12
|
+
|
13
|
+
|
14
|
+
|
15
|
+
[参考リンク](https://cordova.apache.org/docs/en/6.x/guide/appdev/security/index.html#iframes-and-the-callback-id-mechanism)
|
16
|
+
|
17
|
+
|
18
|
+
|
19
|
+
>Note that this statement is not true for iOS, which intercepts everything including iframe connections.
|
20
|
+
|
21
|
+
|
22
|
+
|
23
|
+
「それでも使いたい」という場合にどうすべきか、私では分かりかねます。他の方の回答を待ってみてください。
|