IOS pop-up window management method, pop-up window manager, electronic equipment and storage medium

By creating pop-up management classes and management queues, combining dependencies and system life cycle, the display problems in multi-pop-up window dependencies and multi-threaded environments in iOS pop-up manager are solved, and flexible pop-up scheduling and automated management are realized. Simplifies operations at the business layer.

CN119105830APending Publication Date: 2024-12-10SHENZHEN YISHIHUOLALA TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411108371.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-13
Publication Date
2024-12-10

AI Technical Summary

Technical Problem

The existing iOS pop-up manager is difficult to achieve multi-dimensional flexible scheduling, especially in the development of complex APPs, where there are dependencies and complex processing logic between multiple pop-ups.

Method used

By creating pop-up management classes, using the API interface to obtain configuration objects and pop-up objects, configure attributes, and add them to the management queue. Pop-up windows are displayed and hidden according to dependencies and system life cycle, supporting multi-threaded environments, avoiding The business layer needs to manually control the pop-up life cycle.

Benefits of technology

It realizes flexible display and hiding dependence on complex multi-pop-up windows, avoids the problem of multi-threaded resource synchronization, and automatically schedule pop-up windows through system life cycle binding, simplifying the operation of the business layer.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119105830A_ABST
    Figure CN119105830A_ABST
Patent Text Reader

Abstract

The invention relates to an iOS pop-up window management technology, and discloses an iOS pop-up window management method, a pop-up window manager, electronic equipment and a storage medium, the method comprises the following steps: when an interface function of an API interface is called, obtaining a configuration object and a pop-up window object corresponding to the called interface function; performing attribute configuration on the popup window object according to the configuration object; and adding the popup object with the configured attribute into a management queue to realize popup display. In the process of managing the pop-up window view control, comprehensive and systematic pop-up window scheduling is performed, including but not limited to hierarchical display of the pop-up window control according to the service priority, associated binding display of the pop-up window control and the specific page, automatic scheduling of the pop-up window control according to the system life cycle and the like.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of iOS pop-up window management, and in particular to an iOS pop-up window management method, a pop-up window manager, an electronic device and a storage medium. Background Art

[0002] At present, in the process of developing APP (Application) on iOS mobile terminals, for medium and large APPs with relatively complex business, comprehensive and systematic pop-up window scheduling is required for pop-up window view control management. Most existing iOS pop-up window managers involve the needs of multiple businesses. Multiple pop-ups may appear in one interface. There may be certain dependencies between different pop-ups. In addition, there is also certain processing logic between the pop-up window and the front-end page and other pop-ups during the pop-up window life cycle. Therefore, how to flexibly schedule pop-ups in multiple dimensions has become a problem that needs to be solved urgently. Summary of the invention

[0003] The present invention provides an iOS pop-up window management method, a pop-up window manager, an electronic device and a computer-readable storage medium, the main purpose of which is to solve the problem of how to flexibly schedule pop-up windows in multiple dimensions, which has become an urgent problem to be solved.

[0004] To achieve the above purpose, the present invention provides an iOS pop-up window management method, comprising:

[0005] When the interface function of the API interface is called, the configuration object and pop-up window object corresponding to the called interface function are obtained;

[0006] Performing attribute configuration on the pop-up window object according to the configuration object;

[0007] Add the pop-up window object with configured properties to the management queue to realize pop-up window display.

[0008] In one embodiment of the present invention, the method further includes: creating a pop-up window management class, and using the pop-up window management class to set an API interface; wherein the API interface includes a plurality of interface functions.

[0009] In one embodiment of the present invention, the method further comprises: pre-configuring the pop-up window object in the management queue; wherein,

[0010] The pre-configuring the pop-up window object in the management queue includes:

[0011] Get all the initial pop-up window objects and corresponding properties in the management queue;

[0012] Sort by the attributes corresponding to the initial pop-up window object.

[0013] In one embodiment of the present invention, the step of adding the pop-up window object with configured properties to the management queue includes:

[0014] When the pop-up window object meets the preset protocol conditions, obtaining the target attribute corresponding to the pop-up window object;

[0015] The pop-up window object is inserted into the management queue according to the target attribute.

[0016] In one embodiment of the present invention, linear locking is performed when inserting a pop-up window object or deleting a pop-up window object in the management queue.

[0017] In one embodiment of the present invention, when implementing the pop-up window display, it includes:

[0018] Obtain the dependency relationship of the pop-up window object, and obtain the dependent pop-up window corresponding to the dependency relationship;

[0019] Generate a dependency array according to the dependency and the dependency pop-up window;

[0020] Before displaying the pop-up window object, determining whether to display the pop-up window object is performed according to the dependency array.

[0021] In one embodiment of the present invention, determining whether to display the pop-up window object according to the dependency data includes:

[0022] Determine whether a dependent pop-up window is included according to the key value in the dependency array;

[0023] If there is a dependent pop-up window, the pop-up window object is displayed, and then the dependent pop-up window is displayed;

[0024] If there is no dependent pop-up window, the pop-up window display will be paused.

[0025] In one embodiment of the present invention, the method further includes: when a new pop-up window object is added to the management queue, or a currently displayed pop-up window object is destroyed, triggering the pop-up window queue to re-retrieve the pop-up window object to be displayed.

[0026] In one embodiment of the present invention, the method further includes: managing pop-up windows based on the iOS system life cycle; wherein,

[0027] The pop-up window management based on the iOS system life cycle includes:

[0028] Perform page monitoring and obtain the corresponding target pop-up window object based on the results of page monitoring;

[0029] The target pop-up window object is displayed or destroyed according to the monitoring result.

[0030] In order to solve the above problem, the present invention further provides an iOS pop-up window manager, comprising:

[0031] The interface function calling module is used to obtain the configuration object and pop-up window object corresponding to the called interface function when the interface function of the API interface is called;

[0032] A property configuration module, used to configure the properties of the pop-up window object according to the configuration object;

[0033] The pop-up window display module is used to add the pop-up window object with configured properties to the management queue to realize the pop-up window display.

[0034] In order to solve the above problem, the present invention further provides an electronic device, the electronic device comprising:

[0035] at least one processor; and,

[0036] a memory communicatively connected to the at least one processor; wherein,

[0037] The memory stores a computer program that can be executed by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can perform the steps of the iOS pop-up window management method described above.

[0038] In order to solve the above problem, the present invention also provides a computer-readable storage medium, in which at least one computer program is stored. The at least one computer program is executed by a processor in an electronic device to implement the steps of the iOS pop-up window management method described above.

[0039] In the process of managing pop-up view controls, the present invention performs comprehensive and systematic pop-up scheduling, including but not limited to hierarchical display of pop-up controls according to business priorities, associated binding display of pop-up controls and specific pages, and automatic scheduling of pop-up controls according to the system life cycle.

[0040] The present invention realizes the display of complex multi-pop-up window dependencies by setting management queues and pop-up window dependencies; by supporting multi-threading, the business layer code does not need to consider whether the current thread is actually the main thread when it needs to display a pop-up window, thus avoiding the problem of multi-thread resource synchronization; through pop-up window scheduling, the display and hiding of pop-up windows can be managed according to multi-dimensional configuration, and the business layer does not need to display and control the life cycle of the pop-up window. By adding a binding display based on the system life cycle for the pop-up window, the business layer logic is avoided from displaying and destroying the pop-up window. Therefore, the iOS pop-up window management method, pop-up window manager, electronic device and computer-readable storage medium proposed in the present invention can solve the problem of how to flexibly schedule pop-ups in multiple dimensions. BRIEF DESCRIPTION OF THE DRAWINGS

[0041] Figure 1 A flowchart of an iOS pop-up window management method provided by an embodiment of the present invention;

[0042] Figure 2 A functional module diagram of an iOS pop-up window manager provided by an embodiment of the present invention;

[0043] Figure 3 A schematic diagram of the structure of an electronic device for implementing the iOS pop-up window management method provided by one embodiment of the present invention.

[0044] The realization of the purpose, functional features and advantages of the present invention will be further explained in conjunction with embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION

[0045] It should be understood that the specific embodiments described herein are only used to explain the present invention, and are not used to limit the present invention.

[0046] The embodiment of the present application provides an iOS pop-up window management method. The execution subject of the iOS pop-up window management method includes but is not limited to at least one of the electronic devices such as a server and a terminal that can be configured to execute the method provided by the embodiment of the present application. In other words, the fault diagnosis method based on the turnout current characteristics can be executed by software or hardware installed in a terminal device or a server device.

[0047] Reference Figure 1 FIG. 1 is a flow chart of an iOS pop-up window management method provided by an embodiment of the present invention. In this embodiment, the iOS pop-up window management method includes:

[0048] The present invention can create a pop-up window management class, and use the pop-up window management class to set an API interface, wherein the API interface includes a plurality of interface functions.

[0049] Specifically, the relationship between the pop-up window management class and the API interface is that the pop-up window management class implements interaction with the external system by calling the API interface.

[0050] As an application programming interface, the API interface provides a set of predefined functions for communication and function access between different software systems. The pop-up window management class may need to use the API interface to obtain data, send requests, or trigger specific actions, for example, to obtain user information to display a pop-up window on the interface, or to send a message to notify the user of the operation result.

[0051] In detail, an API interface (Application Programming Interface) is a specification that defines how software communicates with each other. It usually includes one or more functions (also called interface functions) that implement specific functions and allow other software to access specific data or services by calling these functions.

[0052] An interface function is a reusable piece of code that can be called, accepts one or more inputs (parameters) and performs a series of operations. In programming, these functions can be organized and packaged into modules or libraries for reuse in different applications.

[0053] The interface function requires an optional configuration object to be passed. The function can be called with an additional parameter containing a set of optional configuration options. Users can selectively pass in these configuration information as needed to affect certain behaviors or outputs of the function.

[0054] S1. When the interface function of the API interface is called, the configuration object and pop-up window object corresponding to the called interface function are obtained.

[0055] In the embodiment of the present invention, the pop-up window manager can obtain the operation instruction in real time to trigger the interface function of the API interface to be called. Specifically, the operation instruction can be triggered by the front-end user.

[0056] The present invention can use a closure method inside the interface function to save the configuration object and the pop-up window object, and pass them in as parameters when executing the function to ensure that the correct configuration object and pop-up window object can be accessed each time the function is called.

[0057] In detail, a pop-up object usually refers to an object used to display a pop-up window or dialog box in web development. These pop-ups can be used to display messages, warnings, confirmation information, etc. to users; in JavaScript, common pop-up objects include alert(), confirm(), and prompt().

[0058] The configuration object is a common JavaScript object used to store and pass configuration information. Through the configuration object, related configuration parameters can be encapsulated in an object, and then passed to a function or object to customize the settings as needed.

[0059] In the embodiment of the present invention, the attributes included in the configuration object include but are not limited to priority, binding page, pop-up window overlap decision, belonging page and other attributes.

[0060] Specifically, the pop-up window object is used to display the pop-up window dialog box, and the configuration object is used to pass customized configuration information. By using the configuration object, the pop-up window object can be easily configured.

[0061] S2. Performing attribute configuration on the pop-up window object according to the configuration object.

[0062] In the embodiment of the present invention, after the pop-up window object is configured with attributes according to the configuration object, the configuration attributes will be attached to the pop-up window object.

[0063] Specifically, by using the Object.assign() method, the properties of the configuration object are applied to the pop-up window object, thereby implementing customized configuration of the pop-up window object properties.

[0064] S3. Add the pop-up window object with configured properties to the management queue to realize pop-up window display.

[0065] In the embodiment of the present invention, after the pop-up window object with configured properties is added to the management queue, all pop-up window objects can be displayed by traversing the management queue to realize pop-up window display.

[0066] Specifically, the pop-up window objects in the management queue may be preconfigured, including: acquiring all initial pop-up window objects and corresponding attributes in the management queue; and sorting the initial pop-up window objects according to the attributes corresponding to the initial pop-up window objects.

[0067] Specifically, adding the pop-up window object with configured properties to the management queue includes: when the pop-up window object meets the preset protocol conditions, obtaining the target property corresponding to the pop-up window object; and inserting the pop-up window object into the management queue according to the target property.

[0068] Specifically, the popup object must implement a <windowinterface>Protocol, as long as the pop-up window object complies with the protocol, it can be added to the management queue.

[0069] The management queue uses a variable array of the basic data type in iOS as a container, and when inserting, the pop-up windows can be sorted according to the priority attribute in the pop-up window configuration object. The pop-up windows with high priority will be placed at the end. When the pop-up windows start to be displayed, the pop-up windows with high priority will be taken out first for display.

[0070] In the embodiment of the present invention, linear locking may also be performed when inserting a pop-up window object or deleting a pop-up window object in the management queue.

[0071] In the present invention, the interface function of the API interface is called, and the property configuration of the pop-up window object according to the configuration object may be executed in different system threads, but the call management queue for pop-up window display runs in the main thread. Therefore, in order to prevent the pop-up window display from being disordered in a multi-threaded environment, thread interlocking can be used to ensure that the pop-up window objects configured in different threads can be called and displayed in the main thread.

[0072] In the first practical application scenario of the present invention, in JavaScript, since it is a single-threaded execution, there is no real thread, and JavaScript is an event-driven language, so in ordinary JavaScript environments, it is usually not necessary to explicitly perform thread locking operations. However, in cases such as Web Workers, since multiple child threads can be created to execute JavaScript code, thread safety issues may be involved. Therefore, thread locking can be used to support multi-threaded environment operation, ensuring that thread-safe queue operations are implemented in the pop-up window management class, avoiding race conditions and data confusion in a multi-threaded environment.

[0073] Specifically, thread locking in JavaScript is usually achieved by managing a mutex object, which is a synchronization primitive used to control access to shared resources in a multi-threaded environment, ensuring that only one thread can access shared resources at the same time, thereby avoiding race conditions and data contention.

[0074] In JavaScript, there is no built-in mutex object, but there are some ways to implement thread locking of shared resources, such as using SharedArrayBuffer and Atomics to implement atomic operations between multiple threads when using Web Workers.

[0075] In addition, thread-safe mechanisms may also be provided in third-party libraries or frameworks. For example, in a Node.js environment, the cluster module can be used to create multiple worker processes. Each worker process runs in a separate thread, and access to resources can be controlled through the IPC (inter-process communication) mechanism.

[0076] In an embodiment of the present invention, there may be a dependency relationship between pop-up objects. For example, after pop-up object A is displayed, pop-up object B needs to be displayed. In this case, it is considered that there is a dependency relationship between pop-up object A and pop-up object B, and pop-up object B depends on pop-up object A.

[0077] Furthermore, when implementing the pop-up window display, it also includes: obtaining the dependency relationship of the pop-up window object, and obtaining the dependent pop-up window corresponding to the dependency relationship; generating a dependency array based on the dependency relationship and the dependent pop-up window; before displaying the pop-up window object, determining whether to display the pop-up window object based on the dependency array.

[0078] Further, the determining whether to display the pop-up window object according to the dependency data includes: determining whether a dependent pop-up window is contained according to a key value in the dependency array; if a dependent pop-up window is contained, displaying the pop-up window object, and then displaying the dependent pop-up window;

[0079] If there is no dependent pop-up window, the pop-up window display will be paused.

[0080] Specifically, the pop-up management class can add an array to save the dependencies of the current pop-up object. When each pop-up object is added to the management queue, if there is a dependency, it must carry a dependency array of the current pop-up and the dependent pop-up. The member of the array is a character constant, which indicates the pop-up object currently added to the pop-up management.

[0081] The pop-up window management class can create a dictionary container in iOS based on the dependency relationship. The key of the dictionary is the character constant in the dependency relationship, and the value is an id type to store the specific pop-up window object.

[0082] The pop-up management class can check all elements in the dictionary container in the order of the management queue. If the value of the front element is not empty, it proves that the dependent object (i.e., the dependent pop-up window) in the dependency relationship is already "in place", and the dependent pop-up window is placed in the main container of the pop-up cache for normal pop-up display. If it is found that the value of the front element is empty, the query is interrupted, proving that the front pop-up window in the dependency relationship has not been added. Since the subsequent dependent pop-up windows cannot be displayed, it is necessary to wait and suspend the pop-up window display.

[0083] In an embodiment of the present invention, whenever a new pop-up window object is added to the management queue, or a currently displayed pop-up window object is destroyed, the pop-up window queue is triggered to re-retrieve the pop-up window object to be displayed, and then the pop-up window scheduling class will correctly display the pop-up window according to the configuration properties of the currently displayed pop-up window object.

[0084] In an embodiment of the present invention, pop-up window management can also be performed based on the iOS system life cycle, including: performing page monitoring, obtaining a corresponding target pop-up window object according to the results of page monitoring; and displaying or destroying the target pop-up window object according to the monitoring results.

[0085] Specifically, the present invention can monitor the page switching of its UIViewController by hooking the navigation jump functions push and pop of the system's UINavigationController, and can display and destroy the pop-up window in the monitoring function.

[0086] For example, when jumping to page A, the monitoring callback function will be triggered immediately to inform the pop-up management system. If there is a pop-up object that needs to be displayed on page A, the pop-up will be displayed immediately. If page A is destroyed, the pop-up object will be destroyed in the callback function, and the business layer does not need to display and destroy the pop-up again.

[0087] In the process of managing pop-up view controls, the present invention performs comprehensive and systematic pop-up scheduling, including but not limited to hierarchical display of pop-up controls according to business priorities, associated binding display of pop-up controls and specific pages, and automatic scheduling of pop-up controls according to the system life cycle.

[0088] The present invention realizes the display of complex multi-pop-up window dependencies by setting management queues and pop-up window dependencies; by supporting multi-threading, the business layer code does not need to consider whether the current thread is actually the main thread when it needs to display the pop-up window, thus avoiding the problem of multi-thread resource synchronization; through pop-up window scheduling, the display and hiding of the pop-up window can be managed according to multi-dimensional configuration, and the business layer does not need to display and control the life cycle of the pop-up window. By adding the binding display of the pop-up window based on the system life cycle, the business layer logic is avoided from displaying and destroying the pop-up window. Therefore, the iOS pop-up window management method proposed by the present invention can solve the problem of how to flexibly schedule pop-ups in multiple dimensions.

[0089] like Figure 2 , which is a functional module diagram of an iOS pop-up window manager 100 provided by an embodiment of the present invention. According to the functions implemented, the iOS pop-up window manager may include an interface function calling module 101, a property configuration module 102, and a pop-up window display module 103. The module described in the present invention may also be referred to as a unit, which refers to a series of computer program segments that can be executed by a processor of an iOS pop-up window manager and can complete fixed functions, and is stored in the memory of the iOS pop-up window manager.

[0090] In this embodiment, the functions of each module / unit are as follows:

[0091] The interface function calling module 101 is used to obtain the configuration object and pop-up window object corresponding to the called interface function when the interface function of the API interface is called;

[0092] The property configuration module 102 is used to configure the properties of the pop-up window object according to the configuration object;

[0093] The pop-up window display module 103 is used to add the pop-up window object with configured properties to the management queue to realize pop-up window display.

[0094] In detail, each module described in the iOS pop-up manager 100 described in the embodiment of the present invention adopts the same technical means as the iOS pop-up management method described in the accompanying drawings when used, and can produce the same technical effects, which will not be repeated here.

[0095] like Figure 3 , which is a schematic diagram of the structure of an electronic device for implementing an iOS pop-up window management method provided by an embodiment of the present invention.

[0096] The electronic device 200 may include a processor 201 , a memory 202 , a communication bus 203 , and a communication interface 204 , and may also include a computer program stored in the memory 202 and executable on the processor 201 , such as an iOS pop-up window management program.

[0097] Among them, the processor 201 is the control core (Control Unit) of the electronic device, which uses various interfaces and lines to connect the various components of the entire electronic device, and executes various functions of the electronic device and processes data by running or executing programs or modules stored in the memory 202 (such as executing iOS pop-up window management programs, etc.) and calling data stored in the memory 202.

[0098] The memory 202 includes at least one type of readable storage medium, and the readable storage medium includes a flash memory, a mobile hard disk, a multimedia card, etc. The memory 202 may be an internal storage unit of the electronic device in some embodiments, and may also be an external storage device of the electronic device in other embodiments. The memory 202 may be used not only to store application software and various data installed in the electronic device, such as the code of the iOS pop-up window management program, but also to temporarily store data that has been output or is to be output.

[0099] The communication bus 203 can be divided into an address bus, a data bus, a control bus, etc. The bus is configured to realize connection and communication between the memory 202 and at least one processor 201, etc.

[0100] The communication interface 204 is used for communication between the electronic device and other devices, and includes a network interface and a user interface.

[0101] The figure only shows an electronic device with components. Those skilled in the art will understand that the structure shown in the figure does not constitute a limitation on the electronic device 200, and may include fewer or more components than shown in the figure, or combine certain components, or arrange the components differently.

[0102] It should be understood that the embodiment is for illustration only and the scope of the patent application is not limited to this structure.

[0103] The iOS pop-up window management program stored in the memory 202 in the electronic device 200 is a combination of multiple instructions. When running in the processor 201, the above-mentioned iOS pop-up window management method can be implemented.

[0104] Specifically, the specific implementation method of the processor 201 for the above instructions can refer to the description of the relevant steps in the corresponding embodiment of the accompanying drawings, which will not be repeated here.

[0105] The present invention also provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor of an electronic device, the iOS pop-up window management method can be implemented.

[0106] In the several embodiments provided by the present invention, it should be understood that the disclosed devices, apparatuses and methods can be implemented in other ways. For example, the device embodiments described above are only schematic, for example, the division of the modules is only a logical function division, and there may be other division methods in actual implementation.

[0107] The modules described as separate components may or may not be physically separated, and the components shown as modules may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0108] Finally, it should be noted that the above embodiments are only used to illustrate the technical solution of the present invention rather than to limit it. Although the present invention has been described in detail with reference to the preferred embodiments, those skilled in the art should understand that the technical solution of the present invention can be modified or replaced by equivalents without departing from the spirit and scope of the technical solution of the present invention.< / windowinterface>

Claims

1. An iOS pop-up window management method, characterized in that: The method comprises: When the interface function of the API interface is called, the configuration object and pop-up window object corresponding to the called interface function are obtained; Performing attribute configuration on the pop-up window object according to the configuration object; Add the pop-up window object with configured properties to the management queue to realize pop-up window display.

2. The iOS pop-up window management method according to claim 1, characterized in that: The method further includes: pre-configuring the pop-up window object in the management queue; wherein, The pre-configuring the pop-up window object in the management queue includes: Get all the initial pop-up window objects and corresponding properties in the management queue; Sort by the attributes corresponding to the initial pop-up window object.

3. The iOS pop-up window management method according to claim 1, characterized in that: The step of adding the pop-up window object with configured properties to the management queue includes: When the pop-up window object meets the preset protocol conditions, obtaining the target attribute corresponding to the pop-up window object; The pop-up window object is inserted into the management queue according to the target attribute.

4. The iOS pop-up window management method according to claim 1, characterized in that: Linear locking is performed when inserting a pop-up window object or deleting a pop-up window object in the management queue.

5. The iOS pop-up window management method according to claim 1, characterized in that: When implementing pop-up window display, include: Obtain the dependency relationship of the pop-up window object, and obtain the dependent pop-up window corresponding to the dependency relationship; Generate a dependency array according to the dependency and the dependency pop-up window; Before displaying the pop-up window object, determining whether to display the pop-up window object is performed according to the dependency array.

6. The iOS pop-up window management method according to claim 5, characterized in that: The determining whether to display the pop-up window object according to the dependency relationship data includes: Determine whether a dependent pop-up window is included according to the key value in the dependency array; If there is a dependent pop-up window, the pop-up window object is displayed, and then the dependent pop-up window is displayed; If there is no dependent pop-up window, the pop-up window display will be paused.

7. The iOS pop-up window management method according to claim 1, characterized in that: The method further includes: managing pop-up windows based on the iOS system life cycle; wherein, The pop-up window management based on the iOS system life cycle includes: Perform page monitoring and obtain the corresponding target pop-up window object based on the results of page monitoring; The target pop-up window object is displayed or destroyed according to the monitoring result.

8. An iOS pop-up window manager, characterized in that: include: The interface function calling module is used to obtain the configuration object and pop-up window object corresponding to the called interface function when the interface function of the API interface is called; A property configuration module, used to configure the properties of the pop-up window object according to the configuration object; The pop-up window display module is used to add the pop-up window object with configured properties to the management queue to realize the pop-up window display.

9. An electronic device, characterized in that: The electronic device comprises: at least one processor; and, a memory communicatively connected to the at least one processor; wherein, The memory stores a computer program that can be executed by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can perform the steps in the iOS pop-up window management method according to any one of claims 1 to 7.

10. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the steps in the iOS pop-up window management method according to any one of claims 1 to 7 are implemented.