Method and device for capturing system messages on ios platform
A system message and platform technology, applied in the field of communication, can solve problems such as error-prone and large workload, and achieve the effect of reducing workload and improving accuracy
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0026] A method for capturing system messages on the IOS platform is provided in this preferred embodiment, figure 1 A preferred flowchart showing the method, as figure 1 As shown, the method includes the following steps:
[0027] S102. Obtain the method body pointed to by the pointer of the api currently required to be executed, wherein the method body pointed to by the pointer includes the following logic: calling the api itself and recording the occurrence status of the api currently required to be executed; specifically, before executing the api , point the system message api pointer to be monitored to the above-mentioned custom method.
[0028] S104, Execute the method body pointed to by the acquired pointer of the API currently required to be executed.
[0029] Specifically, when the above api method is called, since the pointer of the api points to the custom method, the custom method is executed, that is, the logic of the api itself is called, and the occurrence of t...
Embodiment 2
[0039] On the basis of the above embodiment 1, this embodiment provides a device for capturing system messages on the IOS platform, figure 2 A preferred structural block diagram of the above-mentioned device is shown, as figure 2 As shown, the device includes: an acquisition unit 202, configured to acquire the method body pointed to by the pointer of the api currently required to be executed, wherein the method body pointed to by the pointer includes the following logic: calling the api itself and recording the method body of the api currently required to be executed Occurrence state: the execution unit 204 is connected to the acquisition unit 202 and is used to execute the method body pointed to by the pointer of the api currently required to be executed acquired by the acquisition unit.
[0040] In the preferred implementation above, the pointer of the system method api to be monitored is set to point to a custom method, wherein the custom method contains the following log...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com