Run the FrameworkDemo project to explore how mPaaS micro applications nest, launch, and exit within a navigation stack.
The FrameworkDemo project demonstrates the level hierarchy between mPaaS micro applications — how a Launcher spawns app 1, app 1 spawns app 2, and so on — and shows what happens when you push or exit at each level. For details on the mPaaS iOS framework architecture, see mPaaS frame overview.
Download the sample code
Download the sample code from Get code samples. Open the mpaas_demo_ios/FrameworkDemo project in Xcode to follow the steps below.
Micro-application level demo
The demo starts from the Launcher micro application and walks through a three-level navigation stack: Launcher → app 1 → app 2 → app 3. Each step shows how pushing and exiting affects the stack.
-
Click Push app to start app 1.

-
Click Push app 2 to start app 2.

-
Click Push app 3 to start app 3.

With app 3 as the top-level application, click Exit app 2 to force-quit app 2 and its window.
With app 3 as the top-level application, click Exit self to exit app 3 and return to app 2.
With app 3 as the top-level application, click Exit to launcher to return to the root application and force-quit app 1, app 2, and app 3.
-
From the Launcher micro application, start a service to observe background service behavior.
