Deregister a view

Context

CCoeAppUi provides APIs for view deregistration and pseudo-view deregistration.

Note: Application must remove the views from the app UI’s control stack before deregistering the view.

There are different variants to deregister a view. See CCoeAppUi::DeregisterView() for details.

The following code snippet shows removing a view from the control stack and deregistering it.

iCCoeAppUi->RemoveView( iViewId );
iCCoeAppUi->DeregisterView( iViewId );