Implementation Process: Create an empty interface with toolbar as the main controller for interface switching. The other interfaces are subinterfaces. Note that the toolbar is included at the bottom of the subinterface setting interface.
ImplementationStep One: create three forms: SwitchViewControl subform1 subform2 StepTwo implements SwitchViewControl form and background control toolbar button switching interface effect
The initial part of the page. The subform1 form is displayed by default.
Interface toolbar selection button implementationStep Three implements child forms
For the form part, set the view's buttomBar = toolBar.