A dynamic combination method of an iOS loading page and a default page

A combination method and default technology, applied in the network field, can solve the problem of continuous improvement, and achieve the effect of improving performance, reducing memory usage, and reducing coupling degree.

Inactive Publication Date: 2019-05-21
四川商通实业有限公司
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

At present, the software iteration speed is very fast, which can be said to be race against time, and the user's requirements for software experience are not improving. The traditional "loading page and default page" that write code separately can no longer adapt to the current technical needs flexibly and efficiently.

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

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0026] A method for dynamically combining an iOS loading page and a default page, comprising the following steps:

[0027] a. Create a corresponding proxy for the control as needed;

[0028] b. Using a runtime method in the agent to obtain the original method of the control, and then dynamically inject the new method;

[0029] c. Add the agent to the controller where the control is located;

[0030] e. Implementing the proxy method, associating the pages of the loading page and the default page with the control.

[0031] Specifically, the following steps are also included:

[0032] Create one or more loading pages and default pages according to product and art requirements;

[0033] When the page is running, different loading pages and default pages are displayed as needed.

Embodiment 2

[0035] On the basis of Embodiment 1, this embodiment also includes a page display method, and the steps are as follows:

[0036] Obtaining the size parameters of the display screen of the user terminal when receiving the user terminal accessing the website;

[0037] Determine the page resource corresponding to the URL, and determine that the page resource corresponds to the acquired The page configuration attribute corresponding to the size of the display screen, the page resource includes a loaded page and a missing page, and the page configuration attribute includes page width and position information on which data blocks are arranged on the page;

[0038] Loading the determined page configuration attributes into page resources to form a page;

[0039] The formed page is presented on the user terminal.

[0040] Specifically, when the loaded page and the missing page include multiple data blocks, the page configuration attribute further includes the interval size between th...

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 dynamic combination method of an iOS loading page and a default page. The dynamic combination method comprises the following steps that a, creating a corresponding agent fora control according to needs; B, acquiring the control in an original method in the agent by using a runtime method, and then dynamically injecting a new method; C, adding the agent to a controller where the control is located; And e, realizing a method of the agent, and associating the pages of the loading page and the default page with the control. According to the invention, the development time and maintenance time of developers are reduced, the program efficiency is improved, and the user experience is improved.

Description

technical field [0001] The invention relates to the field of network technology, in particular to a method for dynamically combining an iOS loading page and a default page. Background technique [0002] At present, the codes of iOS "loading page and default page" are written separately, the codes are hard-coded in the program, and the program must be fully compiled before it can be executed before running. At present, the software iteration speed is very fast, which can be said to be a race against time, and the user's requirements for software experience are not improving. The traditional "loading page and default page" written separately can no longer adapt to the current technical needs flexibly and efficiently. Contents of the invention [0003] In order to solve the problems existing in the prior art, the present invention provides a dynamic combination method of the iOS loading page and the default page, which reduces the development time and maintenance time of the ...

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): G06F8/38
Inventor 葛亮李冬岐石在
Owner 四川商通实业有限公司
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