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
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
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.
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com