UIButton button anti-shake method and system based on IOS system
CN119621206APending Publication Date: 2025-03-14INSPUR SOFTWARE CO LTD
View PDF 0 Cites 0 Cited by
Patent Information
- Application Number
- CN202411588059.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-08
- Publication Date
- 2025-03-14
Smart Images

Figure CN119621206A_ABST
Abstract
The invention discloses a UIButton button anti-shake method and system based on an IOS system, belongs to the technical field of IOS system application development, and aims to solve the technical problem of how to provide a UIButton anti-shake mechanism which is efficient, stable and easy to integrate. Comprising the following steps: creating a class extension category for a UIButton class; replacing the click method of the button with a new click processing method in the initialization method load of the class extension; in the new click processing method, a click time interval is defined, click processing logic is defined, and continuous clicks smaller than the time interval are ignored based on the click processing logic; the click event is captured through an event monitoring mechanism of UIButton, the captured click event is intercepted through a new click processing method, and the click is processed based on the click processing logic.
Need to check novelty before this filing date? Find Prior Art