mui.removeViewport(viewportId)

Removes a viewport and all it's associated resources.

Note: It's use is necessary only if you use custom viewports. For mui.viewport and mui.screen is unnecessary.

For more details about viewports see MobileUI App Structure in User Guide.

Quick example

mui.removeViewport('myviewport');