kaz_konno's blog: walkthisway

Titanium Mobileの事など。

「We still care about isRootViewAttached!!!」にご注意。

tabGroupを使っていて、アプリ起動時のopenにmodalを設定していると、子ウィンドウを開いた時にこのWarningがコンソールに出る。


「We still care about isRootViewAttached!!!」


app.jsではこんな感じ。

globals.tabs.open({modal:Ti.Platform.osname === 'iphone', navBarHidden:true});


このWarningが出た後は、ボタンが反応しなかったり、おかしな挙動になるので、やらない方が良い。