Eureka AIR delivers breakthrough ideas for toughest innovation challenges, trusted by R&D personnel around the world.

Application program skin changing method and device based on IOS system, computer equipment and computer readable storage medium

A technology of application programs and computer programs, applied in the field of the Internet, can solve problems such as difficult maintenance, large amount of code, low code cohesion, etc., and achieve the effect of easy skinning function

Pending Publication Date: 2022-07-05
深圳依时货拉拉科技有限公司
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] The purpose of the present invention is to provide a method, device, computer device and computer-readable storage medium for application skinning based on an IOS system, aiming to solve the problem of low code cohesion, difficult maintenance and large amount of code in existing skinning technical solutions. question

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
  • Application program skin changing method and device based on IOS system, computer equipment and computer readable storage medium
  • Application program skin changing method and device based on IOS system, computer equipment and computer readable storage medium
  • Application program skin changing method and device based on IOS system, computer equipment and computer readable storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0028] like figure 1 As shown, Embodiment 1 of the present invention provides a method for skinning an application program based on an IOS system, including the following steps:

[0029] S101. Start an application, and obtain a page resource setting related method through a hook function. Methods related to page resource setting include, but are not limited to, methods such as setting pictures, setting colors, and setting fonts. Specifically, in the IOS system, the method of setting color setColor and the method of setting image setImage are obtained through hook functions. Setting Color The setColor method is a system-provided method for setting the color of a single view. Setting the image The setImage method is a system-provided method used to set the image of the view. After the application starts, the view page will be rendered.

[0030] S102 , before the page is displayed, call the page resource setting related method, and the hook function records the invocation obj...

Embodiment 2

[0042] like figure 2 As shown, Embodiment 3 of the present invention provides an IOS system-based application skinning device 200, including:

[0043] The obtaining module 201 is used to obtain the relevant method of page resource setting through the hook function when the application is started;

[0044] The recording module 202 is used to call the page resource setting related method before the page is displayed, and the hook function records the invocation object and resource content;

[0045] The display module 203 is used to display the page;

[0046] The removing module 204 is used to remove the corresponding invocation object before the page disappears.

[0047] The skinning module 205 is configured to acquire all current invocation objects and resource contents when performing the skinning operation, and complete the skinning by calling the method of the invocation object.

[0048] The IOS system-based application skinning device provided by the second embodiment o...

Embodiment 3

[0050] like image 3 As shown, Embodiment 3 of the present invention provides a computer device 300, including:

[0051] one or more processors 301;

[0052] memory 302; and

[0053]one or more computer programs, the processor and the memory connected by a bus, wherein the one or more computer programs are stored in the memory and configured to be executed by the one or more processors , characterized in that, when the processor executes the computer program, the steps of the IOS-based system application skinning method provided in Embodiment 1 are implemented.

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 provides an application program skin changing method based on an IOS system, and the method comprises the steps: starting an application program, and obtaining a page resource setting related method through a hook function; before the page is displayed, a page resource setting related method is called, and the hook function records an intrusion object and resource content; displaying a page; before the page disappears, the corresponding intrusion object is removed; when the skin changing operation is executed, all current intrusion objects and resource contents are obtained, and skin changing is completed by calling the intrusion objects. According to the method, a hook technology is adopted, a page resource setting related method is obtained through a hook function when an application program is started, the page resource setting related method is called before page display, the hook function records an intrusion object and resource content, and then skin changing operation is completed through a method of calling the intrusion object. Therefore, the page increase of the application program does not cause the increase of code quantity, the code cohesion is high, the logic structure is clear, the maintenance is easy, and the on-shelf or off-shelf skin changing function is facilitated.

Description

technical field [0001] The present invention relates to the field of Internet technologies, and in particular, to an IOS system-based application skinning method, device, computer equipment and computer-readable storage medium. Background technique [0002] The skinning of an application refers to the unified switching of the picture and color style of the application. At present, the main technical implementation scheme for the skinning function in the industry is to configure multiple sets of pictures and color resources in the application, and to perform the skinning through notifications. switch. When the application starts, all pages need to monitor the notification of the skinning event, and send the skinning notification to each page when the skinning is performed. After each page receives the skinning notification, it reads the mapping file of the skin and resource to be switched, and then Set new images and colors for each page. This will lead to the increase of a...

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
IPC IPC(8): G06F9/451
CPCG06F9/451
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
Eureka Blog
Learn More
PatSnap group products