Implementation Process description:
In AppDelegate, set window. rootViewController to display the first form, --> In the button in the first form, reset
SetRootViewController to set the second form ---> the second form also sets setRootViewController to jump to the first form
Step one: Create a project. In this example, select an empty project)
Step Two creates Two forms: oneView and TwoView
Step Three: Display OneView in Appdelegate
Step Four: Set Oneview and TwoView to set a title and a button respectively, and associate the button and viewcontrol with the click event.
StepFive sets button events on the interface to implement form interchange.