CN108563478A - Skin strategy is changed in a kind of App startup - Google Patents

Skin strategy is changed in a kind of App startup Download PDF

Info

Publication number
CN108563478A
CN108563478A CN201810183564.1A CN201810183564A CN108563478A CN 108563478 A CN108563478 A CN 108563478A CN 201810183564 A CN201810183564 A CN 201810183564A CN 108563478 A CN108563478 A CN 108563478A
Authority
CN
China
Prior art keywords
color
skin
app
function
changed
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201810183564.1A
Other languages
Chinese (zh)
Inventor
邱扬
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Kuwo Technology Co Ltd
Original Assignee
Beijing Kuwo Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Kuwo Technology Co Ltd filed Critical Beijing Kuwo Technology Co Ltd
Priority to CN201810183564.1A priority Critical patent/CN108563478A/en
Publication of CN108563478A publication Critical patent/CN108563478A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The present invention relates to a kind of App startups to change skin strategy, includes the following steps:App calls color center, local pre-set color key-value pair is set in color center, plist is read according to being currently configured, the colouring information in plist is obtained, color center is written into colouring information, generates the relevant key-value pair of color, it is loaded into color configuration function again in the setting of App bottom source codes, calling is started the cycle over from bottom and changes skin function, and upper interface starting resetting element information function starts to be loaded into the page again.The present invention passes through color center when App starts, the colouring information in plist is stored, then changes the resetting element information function call in skin function and upper interface for bottom in the form of key-value pair, realizes to start and changes skin, it is fast to change skin speed, meets personalized use demand, and easy to maintain.

Description

Skin strategy is changed in a kind of App startup
Technical field
The present invention relates to App to change skin technical field, and skin strategy is changed in specifically a kind of App startups.
Background technology
In general, when skin is changed in the App realizations in iOS, using following methods.
Locally change skin mode.Skin locally is changed, is by wrapping the picture and color configuration that the inside has possessed itself, to view And each control switches theme color.
Advantage is that workload is relatively fewer, does not need backstage personnel cooperation.
The disadvantage is that limitation is bigger, it is necessary to newest skin color could be updated by the form given out a contract for a project, it can not root App themes are replaced according to red-letter day.
Remotely change skin mode.Skin remotely is changed, is to download new skin in such a way that backstage configures and be laid out again to app. Backstage can also be sent a request to when starting the first time on the day of app, by the server time on backstage, caching is newest Red-letter day skin.And newest skin is changed on the day of red-letter day.
Advantage is can be with the various skins of flexible configuration, and will not occupy too many installation kit size.
The disadvantage is that heavy workload, time-consuming, and backstage personnel is needed to coordinate.
Invention content
In view of the deficiencies in the prior art, the purpose of the present invention is to provide a kind of App startups to change skin strategy, App When startup, by color center, store the colouring information in plist, then in the form of key-value pair for bottom change skin function and Resetting element information function call in upper interface is realized to start and changes skin, and it is fast to change skin speed, meets personalized use demand, And it is easy to maintain.
To achieve the above objectives, the technical solution adopted by the present invention is that:
Skin strategy is changed in a kind of App startup, which is characterized in that includes the following steps:
App calls color center,
Local pre-set color key-value pair Key-Value is set in color center,
According to be currently configured reading attributes listing file plist,
The colouring information in plist is obtained,
Color center is written into colouring information,
The relevant key-value pair of color is generated,
It is loaded into color configuration function again in the setting of App bottom source codes,
Calling, which is started the cycle over, from bottom changes skin function,
Upper interface starting resetting element information function,
Start to be loaded into the page again.
Based on the above technical solution, start after being loaded into the page again, read the color value in color center first,
If reading failure, it tries pre-set color value is read,
If read successfully, the colouring information of currentElement is replaced using the color read.
Based on the above technical solution, color configuration function is selected differently from other colors of current color in user When be loaded into again.
Based on the above technical solution, the color being loaded into again, which is used to replace, has turned on resetting element information function Each element in upper interface,
Each element in the upper interface of non-starting resetting element information function does not replace its color.
Based on the above technical solution, it changes skin function and receives other colors that user is selected differently from current color, And then trigger color configuration function.
Skin strategy is changed in App startups of the present invention, when App starts, by color center, stores the color in plist Then information changes the resetting element information function call in skin function and upper interface in the form of key-value pair for bottom, realize Skin is changed in startup, and it is fast to change skin speed, meets personalized use demand, and easy to maintain.
Skin strategy is changed in App startups of the present invention, is particularly suitable for replacing the integral color at the entire interfaces App, realize Whole skin(Pure color skin theme), that fast and accurately completes entire App matches colour change.
Description of the drawings
The present invention has following attached drawing:
The flow chart of Fig. 1 present invention.
Specific implementation mode
Below in conjunction with attached drawing, invention is further described in detail.
As shown in Figure 1, skin strategy is changed in App startups of the present invention, include the following steps:
App calls color center,
Local pre-set color key-value pair Key-Value is set in color center,
According to be currently configured reading attributes listing file plist,
The colouring information in plist is obtained,
Color center is written into colouring information,
The relevant key-value pair of color is generated,
It is loaded into color configuration function again in the setting of App bottom source codes,
Calling, which is started the cycle over, from bottom changes skin function,
Upper interface starting resetting element information function,
Start to be loaded into the page again.
Based on the above technical solution, start after being loaded into the page again, read the color value in color center first,
If reading failure, it tries pre-set color value is read,
If read successfully, the colouring information of currentElement is replaced using the color read.
Based on the above technical solution, color configuration function is selected differently from other colors of current color in user When be loaded into again.
Based on the above technical solution, the color being loaded into again, which is used to replace, has turned on resetting element information function Each element in upper interface,
Each element in the upper interface of non-starting resetting element information function does not replace its color.
Based on the above technical solution, it changes skin function and receives other colors that user is selected differently from current color, And then trigger color configuration function.
The content not being described in detail in this specification belongs to the prior art well known to professional and technical personnel in the field.

Claims (5)

1. skin strategy is changed in a kind of App startups, which is characterized in that include the following steps:
App calls color center,
Local pre-set color key-value pair Key-Value is set in color center,
According to be currently configured reading attributes listing file plist,
The colouring information in plist is obtained,
Color center is written into colouring information,
The relevant key-value pair of color is generated,
It is loaded into color configuration function again in the setting of App bottom source codes,
Calling, which is started the cycle over, from bottom changes skin function,
Upper interface starting resetting element information function,
Start to be loaded into the page again.
2. skin strategy is changed in App startups as described in claim 1, it is characterised in that:Start after being loaded into the page again, reads first Color value in color center,
If reading failure, it tries pre-set color value is read,
If read successfully, the colouring information of currentElement is replaced using the color read.
3. skin strategy is changed in App startups as described in claim 1, it is characterised in that:Color configuration function selects different in user It is loaded into again when other colors of current color.
4. skin strategy is changed in App startups as claimed in claim 3, it is characterised in that:Again the color being loaded into has been opened for replacing The each element in the upper interface of resetting element information function is opened,
Each element in the upper interface of non-starting resetting element information function does not replace its color.
5. skin strategy is changed in App startups as claimed in claim 3, it is characterised in that:Skin function reception user is changed to be selected differently from Other colors of current color, and then trigger color configuration function.
CN201810183564.1A 2018-03-06 2018-03-06 Skin strategy is changed in a kind of App startup Pending CN108563478A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810183564.1A CN108563478A (en) 2018-03-06 2018-03-06 Skin strategy is changed in a kind of App startup

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810183564.1A CN108563478A (en) 2018-03-06 2018-03-06 Skin strategy is changed in a kind of App startup

Publications (1)

Publication Number Publication Date
CN108563478A true CN108563478A (en) 2018-09-21

Family

ID=63531395

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810183564.1A Pending CN108563478A (en) 2018-03-06 2018-03-06 Skin strategy is changed in a kind of App startup

Country Status (1)

Country Link
CN (1) CN108563478A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110333874A (en) * 2019-06-10 2019-10-15 腾讯科技(成都)有限公司 A kind of iOS system installation kit collecting method, device, equipment and medium
CN112685113A (en) * 2020-12-28 2021-04-20 金现代信息产业股份有限公司 iOS skin changing method and device
CN112783490A (en) * 2019-11-11 2021-05-11 腾讯科技(深圳)有限公司 Data processing method, computer and readable storage medium
CN113434211A (en) * 2021-06-24 2021-09-24 平安国际智慧城市科技股份有限公司 Application program function dynamic configuration method, device, equipment and storage medium
CN114706648A (en) * 2022-05-10 2022-07-05 深圳依时货拉拉科技有限公司 Application program skin changing method and device based on IOS (input/output system), computer equipment and computer readable storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103543995A (en) * 2012-07-12 2014-01-29 腾讯科技(北京)有限公司 Website skin change method and device
CN104252341A (en) * 2013-06-26 2014-12-31 腾讯科技(深圳)有限公司 Method and device for resurfacing application program and client side device of application program
CN105700925A (en) * 2016-01-13 2016-06-22 深圳市华讯方舟软件信息科技有限公司 APP interface implementation method and apparatus

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103543995A (en) * 2012-07-12 2014-01-29 腾讯科技(北京)有限公司 Website skin change method and device
CN104252341A (en) * 2013-06-26 2014-12-31 腾讯科技(深圳)有限公司 Method and device for resurfacing application program and client side device of application program
CN105700925A (en) * 2016-01-13 2016-06-22 深圳市华讯方舟软件信息科技有限公司 APP interface implementation method and apparatus

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
YANJUNZ: "yanjunz/ThemeManager", 《GITHUB》 *
四门三连: "关于iOS App换肤的几种方式", 《COCOACHINA》 *

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110333874A (en) * 2019-06-10 2019-10-15 腾讯科技(成都)有限公司 A kind of iOS system installation kit collecting method, device, equipment and medium
CN110333874B (en) * 2019-06-10 2022-09-23 腾讯科技(成都)有限公司 iOS system installation packet data acquisition method, device, equipment and medium
CN112783490A (en) * 2019-11-11 2021-05-11 腾讯科技(深圳)有限公司 Data processing method, computer and readable storage medium
CN112685113A (en) * 2020-12-28 2021-04-20 金现代信息产业股份有限公司 iOS skin changing method and device
CN113434211A (en) * 2021-06-24 2021-09-24 平安国际智慧城市科技股份有限公司 Application program function dynamic configuration method, device, equipment and storage medium
CN114706648A (en) * 2022-05-10 2022-07-05 深圳依时货拉拉科技有限公司 Application program skin changing method and device based on IOS (input/output system), computer equipment and computer readable storage medium

Similar Documents

Publication Publication Date Title
CN108563478A (en) Skin strategy is changed in a kind of App startup
CN104767866B (en) The automatic method and mobile terminal for replacing wallpaper for mobile terminal
CN101719075B (en) Method for switching theme of Java virtual machine and terminal device
CN105630628B (en) Application recovery method and device
CN106055239B (en) screen recording method and device
CN108769128A (en) Vehicular meter interface subject display system, method and middle control, instrument terminal installation
GB2465193A (en) Detecting updated files in a firmware over the air update using CRC values
CN103176826A (en) Method for freely configuring terminal equipment default language and terminal default language configuration system
CN102938863A (en) Intelligent television icon theme replacement method and device based on Android system
CN113424551B (en) Playing method, device and system and computer readable storage medium
CN104994398A (en) Method and system for controlling plurality of television sets and television set
CN201789561U (en) Television capable of cloning television parameters
CN103259928A (en) Configuration method for achieving intelligent boot animation and shutdown animation and intelligent device applying configuration method
CN108966465A (en) A kind of lamp light control method and system with music
CN105653304B (en) The switching method of operational mode, the switching device of operational mode and terminal
CN110069275A (en) Update the method and system for being installed on the software program of electronic device
CN107249146A (en) Method based on intelligent television dynamic configuration LED light
CN112261768B (en) Lamp strip color control method and system, intelligent terminal and storage device
CN109582428A (en) A kind of adjustment BIOS page shows the method, apparatus and medium of language
US20040203682A1 (en) Intelligent remote software loading method for wireless portable communication device
CN106575234A (en) Program execution system and method for launching resident programs
CN105740006A (en) Cross-platform service providing method of wearable intelligent device based on transparent computing
CN107844315A (en) The strategy that app themes skin upgrades in a kind of Android
US20240015872A1 (en) Smart lamp, method for turning on smart lamp, and method for transferring, loading, and applying lamp state model
CN102333129B (en) The data download method of double-mode double-standby mobile terminal and system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20180921

RJ01 Rejection of invention patent application after publication