I use the CAknViewAppUi's member functions AddViewL(CAknView* aView) and RemoveView(TUid aViewId) to add and remove a view, the addviewL works well but when I call the RemoveView(theViewID), the program crash, I find a line "Panic user 42" in the vc's debug info.
How can I do?
Any update on this very old topic? Does the view management on CAknViewAppUi work, considering RemoveView, or should I manage the views myself manually bypassing the CAknViewAppUi view management? At least my experiences with 2.0 SDK looks like that. The documentation on CAknViewAppUi in v2.0 compared to 2nd edition FP2 are identical (no documentation whatsoever on RemoveView).
CAknViewAppUi crashes if I try to remove my view using RemoveView (no panic, everything just shuts down).