Method and system for automatically preventing keyboard from being blocked by input source based on iOS system
An input source and keyboard technology, applied in the field of automatic anti-keyboard blocking of input sources, can solve problems such as intrusion into business logic, affecting normal use, and unclear input content, so as to solve the problem of keyboard blocking, reduce maintenance costs, and reduce processing logic. Effect
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0046] If attached Figure 1 As shown, the input source of the present invention based on the iOS system automatic anti-keyboard occlusion method. The method is as follows:
[0047] S1, non-invasive automatic detection and acquisition of keyboard status and input source status;
[0048] S2, determine the offset;
[0049] S3, unified interception of input source state changes, trigger anti-occlusion automatic adjustment mechanism;
[0050] S4, recursively find the parent scroll view, and constantly adjust the offset.
[0051] Step S1 of the present embodiment in the non-intrusive automatic detection and acquisition of keyboard status and input source status as follows:
[0052] S101, use iOS system keyboard status change notification Notification to obtain keyboard status;
[0053] S102, use the input source state change notification to obtain the input source status.
[0054] The offset determined in step S2 of the present embodiment is as follows:
[0055] When the input source i...
Embodiment 2
[0066] Input source of the present invention based on iOS system automatic anti-keyboard occlusion system, the system comprising,
[0067] Detection module for non-intrusive automatic detection and acquisition of keyboard status and input source status;
[0068] Determines the module, which is used to calculate the position dimension of the input source relative to the window Window when the input source is detected, that is, the offset;
[0069] Trigger module, which is used to uniformly intercept input source state changes and trigger anti-occlusion automatic adjustment mechanism;
[0070] The Lookup module, which is used to recursively find the parent scroll view, constantly adjusting the offset.
[0071] The detection module in the present embodiment comprises,
[0072] Keyboard status acquisition submodule, which is used to notify Notification to obtain keyboard status by using iOS system keyboard state changes;
[0073] Input source state acquisition submodule, which is used...
Embodiment 5
[0090] The present embodiment further provides an electronic device, comprising: a memory and a processor;
[0091] Wherein, the memory stores the computer to execute instructions;
[0092] The processor executes the memory stored computer execution instructions, such that the processor performs any embodiment of the present invention based on the input source of the iOS system automatic anti-keyboard occlusion method.
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