A method for realizing custom navigation bar of an IOS system

A navigation bar and custom technology, applied in the direction of user interface execution, program control devices, etc., can solve problems such as easy generation, complex animation effects, and internal implementation differences, and achieve high scalability, consistent display and interaction Effect

Inactive Publication Date: 2019-04-23
GUANGZHOU AIMYUNION NETWORK TECH
View PDF4 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] 1. Different pages share UINavigationBar (navigation bar). When one of the pages needs to customize UINavigationBar (navigation bar), it will affect the display of other pages.
[0005] 2. There are differences in the internal implementation of UINavigationBar (navigation bar) in different system versions, and there are also differences in the external interfaces. Developers need to adapt to different system versions
[0006] 3. The navigation bar provided by the system provides fade-in / fade-out animation effects by default. To customize animation effects is more complicated and prone to many problems

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • A method for realizing custom navigation bar of an IOS system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0023] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.

[0024] See figure 1 , the embodiment of the present invention provides a method for implementing a custom navigation bar in an IOS system, comprising the following steps: S1-S6;

[0025] S1, hide the default navigation bar of the IOS system.

[0026] In the embodiment of the present invention, after all view controllers in the IOS system are loaded, the default navigation bar of the IOS system is hidden according to the self.navigationController.navigationBarHidde...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention discloses a method for realizing a custom navigation bar of an IOS system. The method comprises the following steps of hiding a default navigation bar of the IOS system; creating a subclass QXNavigation Bar inherited from the UIView, responding to a first adding operation of the user in the QXNavigation Bar, and adding a view in the QXNavigation Bar; according to the default attribute and interface method of the UINavigation Bar of the IOS system, keeping the attribute and interface method of the QXNavigation Bar consistent with the attribute and interface method of the UINavigation Bar; in response to the replacement operation of the user in the IOS system, using the QXNavigation Bar for replacing the default UINavigation Bar of the IOS system, so that the display and interaction of the navigation bar are kept consistent on different IOS system versions, and higher expandability is provided.

Description

technical field [0001] The invention relates to the field of intelligent terminal display, in particular to a method for realizing a custom navigation bar of an IOS system. Background technique [0002] With the development of the mobile Internet, more and more users use mobile terminal applications instead of PC-side applications, and Apple's iOS system, as one of the two major mobile operating systems, has a considerable market and a good user experience. However, with the iteration of the version of the iOS system, the UI style is different, and the display and interaction of the same app will be different under different versions of the system. This is not friendly enough from the perspective of user experience. [0003] However, the existing system default implementation scheme has the following defects: [0004] 1. Different pages have a common UINavigationBar (navigation bar). When one of the pages needs to customize the UINavigationBar (navigation bar), it will affe...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): G06F9/451
CPCG06F9/451
Inventor 李建斌闵强
Owner GUANGZHOU AIMYUNION NETWORK TECH
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products