CN111753323A - System and method for dynamically replacing TabBar based on iOS application - Google Patents
System and method for dynamically replacing TabBar based on iOS application Download PDFInfo
- Publication number
- CN111753323A CN111753323A CN202010644026.5A CN202010644026A CN111753323A CN 111753323 A CN111753323 A CN 111753323A CN 202010644026 A CN202010644026 A CN 202010644026A CN 111753323 A CN111753323 A CN 111753323A
- Authority
- CN
- China
- Prior art keywords
- tabbar
- user
- ios
- dynamically
- display
- 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.)
- Withdrawn
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/60—Protecting data
- G06F21/604—Tools and structures for managing or administering access control systems
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L63/00—Network architectures or network communication protocols for network security
- H04L63/10—Network architectures or network communication protocols for network security for controlling access to devices or network resources
- H04L63/105—Multiple levels of security
Landscapes
- Engineering & Computer Science (AREA)
- Computer Security & Cryptography (AREA)
- Computer Hardware Design (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Health & Medical Sciences (AREA)
- Software Systems (AREA)
- Bioethics (AREA)
- Health & Medical Sciences (AREA)
- General Physics & Mathematics (AREA)
- Automation & Control Theory (AREA)
- Computing Systems (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The invention discloses a system and a method for dynamically replacing TabBar based on iOS application, relating to the technical field of customized TabBar; the invention can make the function operation of dynamically setting the bottom TabBar by the user become simple and efficient through the cooperation of the background management system and the application program, the application program and the background distribute the user authority according to different user roles, thereby being convenient for entering specific functions more quickly and facilitating data management, solving the problem that the user needs to perform time-consuming and labor-consuming function search when opening the application each time, reducing the waiting time of the user, saving the flow and the mobile phone memory of the user, leading the bottom display of the application program to become more flow-saving, leading the system to be smoother and leading the user operation to be more convenient.
Description
Technical Field
The invention discloses a system and a method for TabBar, relates to the technical field of customized TabBar, and particularly relates to a system and a method for dynamically replacing TabBar based on iOS application.
Background
Tab Bar provides a mechanism to display a tool Bar with tabs located at the bottom of the screen and Tab Bar items that support display and selection. However, the current Tab Bar cannot dynamically customize the bottom Tab Bar button completely according to personal requirements, and when a user uses APP, the bottom Tab Bar generally can display at most a few, and the user cannot rapidly adjust the Tab Bar according to the own requirements and operation habits, so that the user is more inconvenient to operate and is also not convenient to customize the bottom Tab Bar button to display desired contents.
Disclosure of Invention
Aiming at the problems in the prior art, the invention provides a system and a method for dynamically replacing the TabBar based on the iOS application, which can be matched with a background management system to dynamically display the data of the TabBar button at the bottom in the application according to different companies, different user roles, different viewing authorities and the like, and the user can realize the user-defined and customized data display on a background management page.
The specific scheme provided by the invention is as follows:
the method for dynamically replacing the TabBar based on the iOS application comprises the following steps: the user right is assigned to the user,
the application program requests to obtain the TabBar display data corresponding to the user authority, the iOS native terminal returns the corresponding TabBar display data and dynamically adds a page controller of the TabBar,
and dynamically adding the page controller into the corresponding display array to display the corresponding TabBar.
The method comprises the following steps that an application program requests to obtain TabBar display data corresponding to user permission: and when the user logs in after the user installs the application program, returning user information and user authority, and requesting different TabBar display data by the application program according to the user authority and the user information.
In the method, different user rights are distributed according to user information.
In the method, the iOS native terminal returns corresponding display data:
determining the TabBar display data returned by the iOS native terminal according to whether the application program request obtains the TabBar display data corresponding to the user authority successfully,
and if the request is successful, the iOS native terminal returns a certain number of TabBar display data, and the rest of the TabBar display data are put into a button, and the dynamic dragging sequencing is supported in the button.
According to the method, a page controller of the TabBar is dynamically added according to TabBar display data returned by an iOS native terminal, the page controller is dynamically added into a display array of a bottom UITabBar controller, and a button is supported to realize dynamic dragging and sorting.
The system for dynamically replacing the TabBar based on the iOS application comprises an authority management module, a data request module and a display module,
the rights management module assigns user rights to the user,
the data request module obtains the TabBar display data corresponding to the user authority aiming at the application program request, the iOS native terminal returns the corresponding TabBar display data and dynamically adds a page controller of the TabBar,
and the display module dynamically adds the page controller into the corresponding display array to display the corresponding TabBar.
An apparatus for dynamically replacing a TabBar based on iOS applications, comprising: at least one memory and at least one processor;
the at least one memory to store a machine readable program;
the at least one processor is configured to invoke the machine readable program to perform the method for dynamically replacing the TabBar based on the iOS application.
A computer readable medium having stored thereon computer instructions which, when executed by a processor, cause the processor to perform the method of dynamically replacing a TabBar based on an iOS application.
The invention has the advantages that:
the invention provides a method for dynamically replacing TabBar based on iOS application, which can simplify and highly efficiently the function operation of dynamically setting the bottom TabBar by a user through the cooperation of a background management system and an application program, and the application program and the background distribute user authority according to different user roles, thereby facilitating the user to enter specific functions more quickly and facilitating data management, solving the problem that the user needs to perform time-consuming and labor-consuming function search when opening the application each time, reducing the waiting time of the user, saving the flow and the mobile phone memory of the user, leading the bottom display of the application program to be more flow-saving, leading the system to be smoother and leading the user operation to be more convenient.
Drawings
FIG. 1 is a schematic flow chart of the method of the present invention;
FIG. 2 is a flow chart illustrating the rights assignment execution of the present invention;
FIG. 3 is a schematic flow chart of the application program dynamically controlling TabBar in the method of the present invention;
FIG. 4 is a functional diagram of a background interface in the method of the present invention.
Detailed Description
The present invention is further described below in conjunction with the following figures and specific examples so that those skilled in the art may better understand the present invention and practice it, but the examples are not intended to limit the present invention.
The invention provides a method for dynamically replacing TabBar based on iOS application, which comprises the following steps: the user right is assigned to the user,
the application program requests to obtain the TabBar display data corresponding to the user authority, the iOS native terminal returns the corresponding TabBar display data and dynamically adds a page controller of the TabBar,
and dynamically adding the page controller into the corresponding display array to display the corresponding TabBar.
When the method is applied, the background system can distribute the user permission according to different user information such as company or organization, role, viewing permission and the like so as to provide unique bottom TabBar display content, for example, TabBar data needed by a manager is a schedule event, task distribution, a home page and a personal center, and TabBar data of common members is a task, a schedule event, an event, a personal center and the like.
In one embodiment of the method of the present invention, the process of an application requesting to obtain TabBar presentation data corresponding to a user's right: when the user installs the application program and the user logs in, the user information and the user authority are returned, the application program requests different TabBar display data according to the user authority and the user information,
and the iOS native end returns the corresponding presentation data:
determining the TabBar display data returned by the iOS native terminal according to whether the application program request obtains the TabBar display data corresponding to the user authority successfully,
and if the request is successful, the iOS primary end returns a certain number of TabBar display data, for example, 4 TabBar display data are returned, the rest of TabBar display data are put into a button, dynamic dragging sequencing is carried out in the button, a page controller of TabBar is dynamically added according to the TabBar display data returned by the iOS primary end, the page controller is dynamically added into a display array of a bottom UITabBar controller, and the button is supported to realize dynamic dragging sequencing.
In the above embodiment of the present invention, the data control is completed through the interface, the interface returns the TabBar information customized at the back end, and the normal user dynamically sets the data at the native end through the interface and dynamically synchronizes the data with the background system.
The invention also provides a system for dynamically replacing the TabBar based on the iOS application, which comprises an authority management module, a data request module and a display module,
the rights management module assigns user rights to the user,
the data request module obtains the TabBar display data corresponding to the user authority aiming at the application program request, the iOS native terminal returns the corresponding TabBar display data and dynamically adds a page controller of the TabBar,
and the display module dynamically adds the page controller into the corresponding display array to display the corresponding TabBar.
The system of the present invention is equivalent to a subsystem of a background system, and the information interaction, execution process and other contents between the modules in the system of the present invention are based on the same concept as the method embodiment of the present invention, and the specific contents can be referred to the description in the method embodiment of the present invention, and are not described herein again.
The invention also provides a device for dynamically replacing the TabBar based on the iOS application, which comprises the following components: at least one memory and at least one processor;
the at least one memory to store a machine readable program;
the at least one processor is configured to invoke the machine readable program to perform the method for dynamically replacing the TabBar based on the iOS application.
A computer readable medium having stored thereon computer instructions which, when executed by a processor, cause the processor to perform the method of dynamically replacing a TabBar based on an iOS application. Specifically, a system or an apparatus equipped with a storage medium on which software program codes that realize the functions of any of the above-described embodiments are stored may be provided, and a computer (or a CPU or MPU) of the system or the apparatus is caused to read out and execute the program codes stored in the storage medium.
In this case, the program code itself read from the storage medium can realize the functions of any of the above-described embodiments, and thus the program code and the storage medium storing the program code constitute a part of the present invention.
Examples of the storage medium for supplying the program code include a floppy disk, a hard disk, a magneto-optical disk, an optical disk (e.g., CD-ROM, CD-R, CD-RW, DVD-ROM, DVD-RAM, DVD-RW, DVD + RW), a magnetic tape, a nonvolatile memory card, and a ROM. Alternatively, the program code may be downloaded from a server computer via a communications network.
Further, it should be clear that the functions of any one of the above-described embodiments may be implemented not only by executing the program code read out by the computer, but also by causing an operating system or the like operating on the computer to perform a part or all of the actual operations based on instructions of the program code.
Further, it is to be understood that the program code read out from the storage medium is written to a memory provided in an expansion board inserted into the computer or to a memory provided in an expansion unit connected to the computer, and then causes a CPU or the like mounted on the expansion board or the expansion unit to perform part or all of the actual operations based on instructions of the program code, thereby realizing the functions of any of the above-described embodiments.
It should be noted that not all steps and modules in the above flows and system structure diagrams are necessary, and some steps or modules may be omitted according to actual needs. The execution order of the steps is not fixed and can be adjusted as required. The system structure described in the above embodiments may be a physical structure or a logical structure, that is, some modules may be implemented by the same physical entity, or some modules may be implemented by a plurality of physical entities, or some components in a plurality of independent devices may be implemented together.
In the above embodiments, the hardware unit may be implemented mechanically or electrically. For example, a hardware element may comprise permanently dedicated circuitry or logic (such as a dedicated processor, FPGA or ASIC) to perform the corresponding operations. The hardware elements may also comprise programmable logic or circuitry, such as a general purpose processor or other programmable processor, that may be temporarily configured by software to perform the corresponding operations. The specific implementation (mechanical, or dedicated permanent, or temporarily set) may be determined based on cost and time considerations.
The above-mentioned embodiments are merely preferred embodiments for fully illustrating the present invention, and the scope of the present invention is not limited thereto. The equivalent substitution or change made by the technical personnel in the technical field on the basis of the invention is all within the protection scope of the invention. The protection scope of the invention is subject to the claims.
Claims (8)
1. A method for dynamically replacing TabBar based on iOS application is characterized in that user authority is allocated to a user,
the application program requests to obtain the TabBar display data corresponding to the user authority, the iOS native terminal returns the corresponding TabBar display data and dynamically adds a page controller of the TabBar,
and dynamically adding the page controller into the corresponding display array to display the corresponding TabBar.
2. A method as claimed in claim 1, characterised in that the application requests the procedure of obtaining TabBar presentation data corresponding to the user rights: and when the user logs in after the user installs the application program, returning user information and user authority, and requesting different TabBar display data by the application program according to the user authority and the user information.
3. The method of claim 2, wherein different user rights are assigned based on the user information.
4. A method according to any of claims 1-3, characterised in that the iOS native side returns corresponding presentation data:
determining the TabBar display data returned by the iOS native terminal according to whether the application program request obtains the TabBar display data corresponding to the user authority successfully,
and if the request is successful, the iOS native terminal returns a certain number of TabBar display data, and the rest of the TabBar display data are put into a button, and the dynamic dragging sequencing is supported in the button.
5. The method as claimed in claim 4, wherein a page controller of the TabBar is dynamically added according to TabBar display data returned by the iOS native terminal, the page controller is dynamically added into a display array of the bottom UITabBar controller, and the support button realizes dynamic drag sequencing.
6. The dynamic TabBar replacing system based on the iOS application is characterized by comprising an authority management module, a data request module and a display module,
the rights management module assigns user rights to the user,
the data request module obtains the TabBar display data corresponding to the user authority aiming at the application program request, the iOS native terminal returns the corresponding TabBar display data and dynamically adds a page controller of the TabBar,
and the display module dynamically adds the page controller into the corresponding display array to display the corresponding TabBar.
7. Device of dynamically changing TabBar based on iOS application, characterized by comprising: at least one memory and at least one processor;
the at least one memory to store a machine readable program;
the at least one processor configured to invoke the machine readable program to perform the method for dynamically changing a TabBar based on an iOS application of any of claims 1 to 5.
8. Computer readable medium, characterized in that it has stored thereon computer instructions which, when executed by a processor, cause the processor to carry out the method for dynamic replacement of TabBar based on iOS applications as claimed in any of the claims 1 to 5.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202010644026.5A CN111753323A (en) | 2020-07-07 | 2020-07-07 | System and method for dynamically replacing TabBar based on iOS application |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202010644026.5A CN111753323A (en) | 2020-07-07 | 2020-07-07 | System and method for dynamically replacing TabBar based on iOS application |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| CN111753323A true CN111753323A (en) | 2020-10-09 |
Family
ID=72679725
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202010644026.5A Withdrawn CN111753323A (en) | 2020-07-07 | 2020-07-07 | System and method for dynamically replacing TabBar based on iOS application |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN111753323A (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN115269041A (en) * | 2022-07-28 | 2022-11-01 | 湖南檀浏信息技术有限公司 | Method, system and medium for dynamically setting tabBar based on WeChat applet |
-
2020
- 2020-07-07 CN CN202010644026.5A patent/CN111753323A/en not_active Withdrawn
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN115269041A (en) * | 2022-07-28 | 2022-11-01 | 湖南檀浏信息技术有限公司 | Method, system and medium for dynamically setting tabBar based on WeChat applet |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US10726462B2 (en) | Customizing component configurations for utility computing | |
| CN103809997A (en) | Information processing apparatus and network system | |
| US20040210889A1 (en) | System management infrastructure for corrective actions to servers with shared resources | |
| US20110218730A1 (en) | Managing a Datacenter Using Mobile Devices | |
| CN111736825B (en) | Information display method, device, equipment and storage medium | |
| CN110427775B (en) | Data query authority control method and device | |
| US10310900B2 (en) | Operating programs on a computer cluster | |
| CN105550345A (en) | File operation method and apparatus | |
| CN114138405A (en) | Virtual machine creating method and device, electronic equipment and storage medium | |
| CN101159596B (en) | Method and apparatus for deploying servers | |
| JP2008204120A (en) | Computer system | |
| CN110648034A (en) | Method and device for distributing customer service | |
| CN109726020B (en) | System docking method, system docking device, storage medium and apparatus | |
| CN107967305B (en) | Image file uploading method, server and readable storage medium | |
| CN115469807A (en) | Disk function configuration method, device, equipment and storage medium | |
| CN111753323A (en) | System and method for dynamically replacing TabBar based on iOS application | |
| CN112612417A (en) | Data migration method, device, equipment and storage medium | |
| US20210110005A1 (en) | License management apparatus, license management method, and recording medium storing license management program | |
| CN112416374A (en) | Data processing method, device, terminal and storage medium | |
| CN117608654A (en) | A business system configuration method and terminal | |
| CN107341269A (en) | A kind of file storage location management method, device and operation system | |
| KR101115762B1 (en) | Terminal device capable of managing virtual machine based on client hypervisor | |
| US10805176B2 (en) | SW framework support method for open IPMI and DCMI development | |
| CN108363614B (en) | Application service module management method and device and server | |
| EP2800329A1 (en) | Wireless communication terminal and method for securely running industry software |
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 | ||
| WW01 | Invention patent application withdrawn after publication | ||
| WW01 | Invention patent application withdrawn after publication |
Application publication date: 20201009 |