CN107861722A - A kind of method of dynamic modification UI layouts on iOS - Google Patents
A kind of method of dynamic modification UI layouts on iOS Download PDFInfo
- Publication number
- CN107861722A CN107861722A CN201711176335.9A CN201711176335A CN107861722A CN 107861722 A CN107861722 A CN 107861722A CN 201711176335 A CN201711176335 A CN 201711176335A CN 107861722 A CN107861722 A CN 107861722A
- Authority
- CN
- China
- Prior art keywords
- xml file
- layouts
- value
- dynamic
- ios
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/30—Creation or generation of source code
- G06F8/38—Creation or generation of source code for implementing user interfaces
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/60—Software deployment
- G06F8/65—Updates
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Human Computer Interaction (AREA)
- Computer Security & Cryptography (AREA)
- Stored Programmes (AREA)
Abstract
The present invention relates to a kind of method of dynamic modification UI layouts on iOS, comprise the following steps:In service end, code editor is opened;XML file corresponding to selection layout is simultaneously opened, and the layout is layout to be modified;Editor's XML file content simultaneously preserves;Set the access rights of XML file.In client, after starting App, call dynamic modified module, dynamic modified module passes through network, the update status of service end XML file is inquired about, after being updated to the XML file of indicated release, dynamic modified module parsing XML file content, corresponding adjustment UI layouts, new UI layouts are then presented to user.The present invention, the UI of version on line can be laid out(Interface)Carry out hot repair to answer, avoid that the thinner App's of user is cumbersome, it is small to customer impact, safeguarded in time beneficial to developer, update UI layouts, improve maintenance efficiency, usage experience is good, can adjust UI in time according to the change of operation content and be laid out.
Description
Technical field
The present invention relates to UI layout development technique field, dynamic changes the method that UI is laid out on specifically a kind of iOS.
Background technology
UI is User Interface(User interface)Abbreviation.Refer to the operation interface of user, include mobile APP, net
Page, Intelligent worn device etc..UI designs the pattern for referring mainly to interface, aesthetic measure.And use it is upper, man-machine interaction to software,
The global design of operation logic, beautiful interface is then another gateway of no less important.Good UI is not only to allow software to become to have
Individual character is had good taste, and also to be allowed the operation of software to become comfortable, simple, free, be fully demonstrated positioning and the feature of software.
When learning UI designs, the layout of the page is often touched, the mode of layout can directly affect an APP
Visual effect, good layout type, tend to bring comfortable visual effect, can more obtain receiving and the favorable comment of user.
Once UI layout designs finish, externally after issue, if necessary to modification, dynamic is then needed to change, to influence
In the case of minimum, reach the purpose of modification UI layouts.
The content of the invention
For defect present in prior art, it is an object of the invention to provide dynamic modification UI layouts on a kind of iOS
Method, can on line version UI be laid out(Interface)Carry out hot repair to answer, avoid that the thinner App's of user is cumbersome, to customer impact
It is small, safeguarded in time beneficial to developer, update UI layouts, improve maintenance efficiency, usage experience is good, can be according to operation content
Adjustment UI is laid out in time for change.
To achieve the above objectives, the present invention adopts the technical scheme that:
A kind of method of dynamic modification UI layouts on iOS, it is characterised in that comprise the following steps:
In service end, code editor is opened, such as open sublime text;
XML file corresponding to selection layout is simultaneously opened, and the layout is layout to be modified;
Editor's XML file content simultaneously preserves;
Set the access rights of XML file.
On the basis of above-mentioned technical proposal, the access rights of the setting XML file include following one of any or complete
Portion:
The version number of XML file is set,
The title of App corresponding to XML file is set,
Set the version number of App corresponding to XML file.
On the basis of above-mentioned technical proposal, in XML file, include the default value and self-defining value of UI layout parameters,
The default value is not revisable preset value, is provided from using during definition value failure,
The self-defining value is the parameter value for user's modification, and self-defining value preferentially calls prior to default value, dynamic when changing
Self-defining value.
On the basis of above-mentioned technical proposal, in XML file, in addition to annotation value,
The annotation value is used to provide UI layout parameters implication note.
On the basis of above-mentioned technical proposal, in XML file, in addition to third party's interface value,
Third party's interface value is used to generate corresponding third-party interface component, by way of explaining or being passed to, realization pair
The dynamic modification of UI layout parameters.
On the basis of above-mentioned technical proposal, third party's interface value and self-defining value are selected one by user and enabled.
On the basis of above-mentioned technical proposal, in client, after starting App, dynamic modified module is called,
Dynamic modified module inquires about the update status of service end XML file by network,
It was found that when new edition XML file be present,
The page for needing to change layout is entered,
XML file is initiated by network to update,
After being updated to the XML file of indicated release,
Dynamic modified module parses XML file content, corresponding to adjust UI layouts,
Then new UI layouts are presented to user.
On the basis of above-mentioned technical proposal, the XML file of the indicated release refers to:
The XML file of latest edition,
Or the XML file that user selectes,
Or the XML file of service end keeper setting.
On the basis of above-mentioned technical proposal, in addition to:Dynamic modified module is by the data storage after parsing in client
It is local, call after starting for App, be laid out so that corresponding UI is presented.
On the basis of above-mentioned technical proposal, after starting App, according to the proof cycle of setting, dynamic modified module is called.
The method of dynamic modification UI layouts on iOS of the present invention, can be laid out to the UI of version on line(Interface)Carry out
Hot repair is answered, and avoids that the thinner App's of user is cumbersome, small to customer impact, is safeguarded in time beneficial to developer, is updated UI layouts, carried
High maintenance efficiency, usage experience is good, can be according to the change of operation content(Theme UI, red-letter day dynamic update, operation new demand etc.
Deng)Adjustment UI layouts in time.
Brief description of the drawings
The present invention has drawings described below:
The flow chart of Fig. 1 present invention.
Embodiment
The present invention is described in further detail below in conjunction with accompanying drawing.
As shown in figure 1, the method that dynamic modification UI is laid out on iOS of the present invention, comprises the following steps:
In service end, code editor is opened, such as open sublime text;
XML file corresponding to selection layout is simultaneously opened, and the layout is layout to be modified;
Editor's XML file content simultaneously preserves;
Set the access rights of XML file.
On the basis of above-mentioned technical proposal, the access rights of the setting XML file include following one of any or complete
Portion:
The version number of XML file is set,
The title of App corresponding to XML file is set,
Set the version number of App corresponding to XML file.
On the basis of above-mentioned technical proposal, in XML file, include the default value and self-defining value of UI layout parameters,
The default value is not revisable preset value, is provided from using during definition value failure,
The self-defining value is the parameter value for user's modification, and self-defining value preferentially calls prior to default value, dynamic when changing
Self-defining value.
On the basis of above-mentioned technical proposal, in XML file, in addition to annotation value,
The annotation value is used to provide UI layout parameters implication note.
On the basis of above-mentioned technical proposal, in XML file, in addition to third party's interface value,
Third party's interface value is used to generate corresponding third-party interface component, by way of explaining or being passed to, realization pair
The dynamic modification of UI layout parameters.
On the basis of above-mentioned technical proposal, third party's interface value and self-defining value are selected one by user and enabled.
On the basis of above-mentioned technical proposal, in client, after starting App, dynamic modified module is called,
Dynamic modified module inquires about the update status of service end XML file by network,
It was found that when new edition XML file be present,
The page for needing to change layout is entered,
XML file is initiated by network to update,
After being updated to the XML file of indicated release,
Dynamic modified module parses XML file content, corresponding to adjust UI layouts,
Then new UI layouts are presented to user.
On the basis of above-mentioned technical proposal, the XML file of the indicated release refers to:
The XML file of latest edition,
Or the XML file that user selectes,
Or the XML file of service end keeper setting.
On the basis of above-mentioned technical proposal, in addition to:Dynamic modified module is by the data storage after parsing in client
It is local, call after starting for App, be laid out so that corresponding UI is presented.
On the basis of above-mentioned technical proposal, after starting App, according to the proof cycle of setting, dynamic modified module is called.
The content not being described in detail in this specification belongs to prior art known to professional and technical personnel in the field.
Claims (10)
1. a kind of method of dynamic modification UI layouts on iOS, it is characterised in that comprise the following steps:
In service end, code editor is opened, such as open sublime text;
XML file corresponding to selection layout is simultaneously opened, and the layout is layout to be modified;
Editor's XML file content simultaneously preserves;
Set the access rights of XML file.
2. the method for dynamic modification UI layouts on iOS as claimed in claim 1, it is characterised in that:The setting XML file
Access rights include following one of any or all:
The version number of XML file is set,
The title of App corresponding to XML file is set,
Set the version number of App corresponding to XML file.
3. the method for dynamic modification UI layouts on iOS as claimed in claim 1, it is characterised in that:In XML file, including UI
The default value and self-defining value of layout parameter,
The default value is not revisable preset value, is provided from using during definition value failure,
The self-defining value is the parameter value for user's modification, and self-defining value preferentially calls prior to default value, dynamic when changing
Self-defining value.
4. the method for dynamic modification UI layouts on iOS as claimed in claim 3, it is characterised in that:In XML file, in addition to
Annotation value,
The annotation value is used to provide UI layout parameters implication note.
5. the method for dynamic modification UI layouts on iOS as claimed in claim 3, it is characterised in that:In XML file, in addition to
Third party's interface value,
Third party's interface value is used to generate corresponding third-party interface component, by way of explaining or being passed to, realization pair
The dynamic modification of UI layout parameters.
6. the method for dynamic modification UI layouts on iOS as claimed in claim 5, it is characterised in that:Third party's interface value and from
Definition value is selected one by user and enabled.
7. the method for dynamic modification UI layouts on iOS as claimed in claim 1, it is characterised in that:In client, start App
Afterwards, dynamic modified module is called,
Dynamic modified module inquires about the update status of service end XML file by network,
It was found that when new edition XML file be present,
The page for needing to change layout is entered,
XML file is initiated by network to update,
After being updated to the XML file of indicated release,
Dynamic modified module parses XML file content, corresponding to adjust UI layouts,
Then new UI layouts are presented to user.
8. the method for dynamic modification UI layouts on iOS as claimed in claim 7, it is characterised in that:The XML of the indicated release
File refers to:
The XML file of latest edition,
Or the XML file that user selectes,
Or the XML file of service end keeper setting.
9. the method for dynamic modification UI layouts on iOS as claimed in claim 7, it is characterised in that:Also include:Dynamic modification mould
Block is local in client by the data storage after parsing, is called after starting for App, is laid out so that corresponding UI is presented.
10. the method for dynamic modification UI layouts on iOS as claimed in claim 7, it is characterised in that:After starting App, according to setting
Fixed proof cycle, call dynamic modified module.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711176335.9A CN107861722A (en) | 2017-11-22 | 2017-11-22 | A kind of method of dynamic modification UI layouts on iOS |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711176335.9A CN107861722A (en) | 2017-11-22 | 2017-11-22 | A kind of method of dynamic modification UI layouts on iOS |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107861722A true CN107861722A (en) | 2018-03-30 |
Family
ID=61703356
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201711176335.9A Pending CN107861722A (en) | 2017-11-22 | 2017-11-22 | A kind of method of dynamic modification UI layouts on iOS |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107861722A (en) |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109008098A (en) * | 2018-09-17 | 2018-12-18 | 北海华源电子有限公司 | Safety monitoring system |
CN109118712A (en) * | 2018-09-17 | 2019-01-01 | 北海华源电子有限公司 | Safety monitoring system for being monitored to children |
CN109285317A (en) * | 2018-09-17 | 2019-01-29 | 北海华源电子有限公司 | Safety monitoring system based on Intelligent bracelet and smart phone |
CN109275993A (en) * | 2018-09-17 | 2019-01-29 | 北海华源电子有限公司 | Portable secured monitoring system |
CN112269621A (en) * | 2020-11-18 | 2021-01-26 | 深圳创维-Rgb电子有限公司 | Interface layout updating method and device, terminal equipment and readable storage medium |
CN112328248A (en) * | 2019-10-28 | 2021-02-05 | 杭州衣科信息技术有限公司 | iOS platform interface setting method based on asynchronous disaster tolerance service system |
CN113111290A (en) * | 2021-04-29 | 2021-07-13 | 北京房江湖科技有限公司 | Method and device for generating UI (user interface) |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2000276342A (en) * | 1999-03-26 | 2000-10-06 | Mitsubishi Electric Corp | Device and method for design specification generation |
CN104484189A (en) * | 2014-12-31 | 2015-04-01 | 北京拼图科技有限公司 | Construction and design method of application interface |
CN105204873A (en) * | 2014-05-27 | 2015-12-30 | 宇龙计算机通信科技(深圳)有限公司 | Terminal and application interface display method |
CN106354490A (en) * | 2016-08-19 | 2017-01-25 | 成都卓影科技股份有限公司 | Dynamic layout method for EPG page |
-
2017
- 2017-11-22 CN CN201711176335.9A patent/CN107861722A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2000276342A (en) * | 1999-03-26 | 2000-10-06 | Mitsubishi Electric Corp | Device and method for design specification generation |
CN105204873A (en) * | 2014-05-27 | 2015-12-30 | 宇龙计算机通信科技(深圳)有限公司 | Terminal and application interface display method |
CN104484189A (en) * | 2014-12-31 | 2015-04-01 | 北京拼图科技有限公司 | Construction and design method of application interface |
CN106354490A (en) * | 2016-08-19 | 2017-01-25 | 成都卓影科技股份有限公司 | Dynamic layout method for EPG page |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109008098A (en) * | 2018-09-17 | 2018-12-18 | 北海华源电子有限公司 | Safety monitoring system |
CN109118712A (en) * | 2018-09-17 | 2019-01-01 | 北海华源电子有限公司 | Safety monitoring system for being monitored to children |
CN109285317A (en) * | 2018-09-17 | 2019-01-29 | 北海华源电子有限公司 | Safety monitoring system based on Intelligent bracelet and smart phone |
CN109275993A (en) * | 2018-09-17 | 2019-01-29 | 北海华源电子有限公司 | Portable secured monitoring system |
CN112328248A (en) * | 2019-10-28 | 2021-02-05 | 杭州衣科信息技术有限公司 | iOS platform interface setting method based on asynchronous disaster tolerance service system |
CN112328248B (en) * | 2019-10-28 | 2021-08-17 | 杭州衣科信息技术股份有限公司 | iOS platform interface setting method based on asynchronous disaster tolerance service system |
CN112269621A (en) * | 2020-11-18 | 2021-01-26 | 深圳创维-Rgb电子有限公司 | Interface layout updating method and device, terminal equipment and readable storage medium |
CN113111290A (en) * | 2021-04-29 | 2021-07-13 | 北京房江湖科技有限公司 | Method and device for generating UI (user interface) |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107861722A (en) | A kind of method of dynamic modification UI layouts on iOS | |
JP6671483B2 (en) | Method and apparatus for controlling smart devices and computer storage media | |
CN103902717B (en) | A kind of enterprises it is portal personalized realize system and method | |
CN105827438B (en) | A kind of method of automatic setting APN | |
CN103164206A (en) | Software customization system based on software as a service (SAAS) | |
WO2016064752A1 (en) | System and method for customizing a theme for modifying a look and feel of a graphical user interface | |
CN104391703B (en) | It is rapidly completed the apparatus and method of page layout | |
CN103903086A (en) | Method and system for developing management information system based on service model driving | |
CN101833458A (en) | Method for automatically generating user application interface based on template | |
CN103472972A (en) | Text display format setting unit and text display format setting method for mobile terminals and mobile terminal | |
CN104461580A (en) | Web user interface implementation method | |
EP2003906A4 (en) | A method for realizing multimedia message signature service | |
CN104317781A (en) | Sensitive word editor | |
MY174715A (en) | Automatic screen generation device, automatic screen generation program, and automatic screen generation method | |
CN105278955A (en) | Management report system for terminal facilities | |
CN110531968B (en) | Method for automatically extracting web front-end function code to generate independent template | |
CN102521129B (en) | Testing method and testing device for owner-drawing window | |
CN106780672A (en) | A kind of browser, animation editor Play System and method | |
CN108549693A (en) | CMS page generation methods based on crawler technology | |
CN106325486A (en) | Intelligent terminal | |
CN101458851B (en) | Customizing method for wide invoice simulation template in tax control system | |
CN102855070B (en) | A kind of method of managing electronic device display screen and electronic equipment | |
CN103595738B (en) | User multiple terminals digital reading implementation method, system and reading business platform | |
Imbriani et al. | The effects of foreign direct investment on local firms: some evidence from panel data for the Italian manufacturing sector | |
CN105095461A (en) | Family karaoke ordering method 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: 20180330 |
|
RJ01 | Rejection of invention patent application after publication |