Document directory
- Step One: create three forms: SwitchViewControl subform1 subform2
- StepTwo implements SwitchViewControl form and background control toolbar button switching interface effect
- Step Three implements child forms
Upper
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.
Implementation
Step One: create three forms: SwitchViewControl subform1 subform2
StepTwo implements SwitchViewControl form and background control toolbar button switching interface effect
Background control
The initial part of the page. The subform1 form is displayed by default.
Interface toolbar selection button implementation
Step Three implements child forms
For the form part, set the view's buttomBar = toolBar.