1. When using storyboard
1. Create it directly in the storyboard and arrow Navigation Conroller and connect it
2. Use Segue to jump
Shrink the interface (you can double-click in the blank space, or right-click to select the zoom ratio). This time we do not use the "buttons" to connect the interface directly, but to connect the interfaces, as shown in the figure below. Display:
Note: 100% zoom does not allow connections between interfaces! " This line", specify an identifier in the Identifier of the Storyboard Segue, which we will use later:
At this time we need to add an event for the button, and for this we need to display the Storyboard at the same time and .m files, the operation is as follows:
The operation of creating an event is the same as the previous connection operation:
Create a name for this event , and then click Connect:
Add the following code in the event and pass in the newly connected Identifier. The sender is usually "self":
In this way, you can jump successfully.
[self performSegueWithIdentifier:@"EasyCode" sender:self];2. When storyboard is not used
1. On the basis of navigationController as rootViewController,
2. Not tested
[self.navigationController pushViewController:self.newOrderViewController animated:YES];}

The article discusses the HTML <datalist> element, which enhances forms by providing autocomplete suggestions, improving user experience and reducing errors.Character count: 159

The article discusses the HTML <progress> element, its purpose, styling, and differences from the <meter> element. The main focus is on using <progress> for task completion and <meter> for stati

The article discusses the HTML <meter> element, used for displaying scalar or fractional values within a range, and its common applications in web development. It differentiates <meter> from <progress> and ex

The article discusses the <iframe> tag's purpose in embedding external content into webpages, its common uses, security risks, and alternatives like object tags and APIs.

The article discusses the viewport meta tag, essential for responsive web design on mobile devices. It explains how proper use ensures optimal content scaling and user interaction, while misuse can lead to design and accessibility issues.

The article discusses using HTML5 form validation attributes like required, pattern, min, max, and length limits to validate user input directly in the browser.

Article discusses best practices for ensuring HTML5 cross-browser compatibility, focusing on feature detection, progressive enhancement, and testing methods.

This article explains the HTML5 <time> element for semantic date/time representation. It emphasizes the importance of the datetime attribute for machine readability (ISO 8601 format) alongside human-readable text, boosting accessibilit


Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

AI Hentai Generator
Generate AI Hentai for free.

Hot Article

Hot Tools

EditPlus Chinese cracked version
Small size, syntax highlighting, does not support code prompt function

ZendStudio 13.5.1 Mac
Powerful PHP integrated development environment

Safe Exam Browser
Safe Exam Browser is a secure browser environment for taking online exams securely. This software turns any computer into a secure workstation. It controls access to any utility and prevents students from using unauthorized resources.

Dreamweaver Mac version
Visual web development tools

VSCode Windows 64-bit Download
A free and powerful IDE editor launched by Microsoft
