Removing window from a navigationGroup
Hi,
I'm trying to remove a window from a navigationGroup. The code I'm using is:news_nav_group.remove(article_win);
I add the window to the group with:news_nav_group.open(article_win);
I'd assume this would work fine, but I'm receiving this error:
Value was not the value expected. (viewIsInChildren) was not (YES) in -[TiViewProxy remove:] (TiViewProxy.m:193)
Any help is much appreciated.
3 Answers
-
You should be able to use
.close()
as the comment suggests. -
Unfortunately using close() didn't work :(
Thanks for the help, anyway.
-
Value was not the value expected. (viewIsInChildren) was not (YES) in -[TiViewProxy remove:] (TiViewProxy.m:193)
I've seen this error many times in my app at random crashes, not necessarily while using close() or remove(). A few times in simulator, many times on device (especially 3G).
Is it possible it has to do with old windows using up memory? Lets hope we get a solution! :)