CN111352569A - Control method and system of keyboard interface - Google Patents

Control method and system of keyboard interface Download PDF

Info

Publication number
CN111352569A
CN111352569A CN202010186723.0A CN202010186723A CN111352569A CN 111352569 A CN111352569 A CN 111352569A CN 202010186723 A CN202010186723 A CN 202010186723A CN 111352569 A CN111352569 A CN 111352569A
Authority
CN
China
Prior art keywords
keyboard interface
keyboard
interface
button
height
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.)
Pending
Application number
CN202010186723.0A
Other languages
Chinese (zh)
Inventor
孙瑞娟
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Zhuhai Seal Interest Technology Co Ltd
Original Assignee
Zhuhai Seal Interest Technology Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Zhuhai Seal Interest Technology Co Ltd filed Critical Zhuhai Seal Interest Technology Co Ltd
Priority to CN202010186723.0A priority Critical patent/CN111352569A/en
Publication of CN111352569A publication Critical patent/CN111352569A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • G06F3/04886Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures by partitioning the display area of the touch-screen or the surface of the digitising tablet into independently controllable areas, e.g. virtual keyboards or menus
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/38Creation or generation of source code for implementing user interfaces
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The invention discloses a control method and a system of a keyboard interface, which realize a convenient method for packing up the keyboard interface and provide a user-defined construction for realizing the convenient packing up of the keyboard interface of an iOS system.

Description

Control method and system of keyboard interface
Technical Field
The present application relates to the field of electronic technologies, and in particular, to a method and a system for controlling a keyboard interface.
Background
In the field of iOS development, keyboard input is required for each application and the frequency of use of each application is extremely high, but in the iOS system, the ejection of the keyboard is simple, many controls are carried by themselves, but the retraction of the keyboard is cumbersome, usually requiring the use of agents (delete) or gestures (uitapgresterrecognizers), which causes much workload.
Disclosure of Invention
The invention provides a control method and a control system of a keyboard interface, which are used for solving the problem that in the field of iOS development in the prior art, a lot of workload is caused because a proxy or a gesture is usually required to be used for keyboard input.
The specific technical scheme is as follows:
a method of controlling a keyboard interface, the method comprising:
the method comprises the steps that a keyboard interface of a single-case view is created through an integrated system UI interface, wherein the keyboard interface comprises a keyboard pop-up monitoring button and a keyboard retracting button;
adding a default style in the keyboard interface, wherein the default style at least comprises a background color and an interface height;
and adding a display method and a removal method for displaying the keyboard interface in the keyboard interface to obtain the keyboard interface which is finally displayed and output.
Optionally, before the integrated system UI interface creates the keyboard interface of the single-view, the method further includes:
setting the monitoring mode of the keyboard interface as a notification mode;
and moving the pop-up animation of the keyboard interface above the keyboard of the keyboard interface and removing the pop-up animation when the keyboard interface is folded.
Optionally, obtaining a keyboard interface for final display output includes:
creating a UI button at a designated position of the keyboard interface;
and adding a click event to the created UI button, wherein the click event is used for executing a removal method of the keyboard interface and a callback function.
Optionally, creating a UI button at a designated position of the keyboard interface, including:
determining a vertical position of the UI button in the keyboard interface and a distance from a boundary, and determining a height of the UI button in the keyboard interface;
generating the UI button in the keyboard interface according to the vertical position, a distance between boundaries, and the height.
A control system for a keyboard interface, the system comprising:
the system comprises a creating module, a display module and a display module, wherein the creating module is used for creating a keyboard interface of a single-case view by integrating a system UI interface, and the keyboard interface comprises a keyboard popup monitor and a keyboard retraction button;
the processing module is used for adding a default style in the keyboard interface, wherein the default style at least comprises a background color and an interface height; and adding a display method and a removal method for displaying the keyboard interface in the keyboard interface to obtain the keyboard interface which is finally displayed and output.
Optionally, the processing module is further configured to set a monitoring mode of the keyboard interface to be a notification mode; and moving the pop-up animation of the keyboard interface above the keyboard of the keyboard interface and removing the pop-up animation when the keyboard interface is folded.
Optionally, the processing module is further configured to create a UI button at a designated position of the keyboard interface; and adding a click event to the created UI button, wherein the click event is used for executing a removal method of the keyboard interface and a callback function.
Optionally, the processing module is further configured to determine a vertical position of the UI button in the keyboard interface and a distance between the UI button and a boundary, and determine a height of the UI button in the keyboard interface; generating the UI button in the keyboard interface according to the vertical position, a distance between boundaries, and the height.
The method provided by the embodiment of the invention realizes a convenient keyboard interface packing method, provides a user-defined building to realize the convenient packing of the keyboard interface of the iOS system, solves the problem of packing all keyboards only by using simple codes, is simple to operate, and has more humanization in packing operation.
Drawings
FIG. 1 is a flowchart illustrating a method for controlling a keyboard interface according to an embodiment of the present invention;
FIG. 2 is a schematic diagram of a keyboard interface in an embodiment of the invention;
fig. 3 is a schematic structural diagram of a control system of a keyboard interface according to an embodiment of the present invention.
Detailed Description
The technical solutions of the present invention are described in detail with reference to the drawings and the specific embodiments, and it should be understood that the embodiments and the specific technical features in the embodiments of the present invention are merely illustrative of the technical solutions of the present invention, and are not restrictive, and the embodiments and the specific technical features in the embodiments of the present invention may be combined with each other without conflict.
Fig. 1 is a flowchart illustrating a method for controlling a keyboard interface according to an embodiment of the present invention, where the method includes:
s1, creating a keyboard interface of the single-case view by the UI interface of the integrated system;
the keyboard interface comprises a keyboard popup monitor and a keyboard retraction button;
firstly, in order to provide a convenient and fast retraction assembly for the keyboard interface of the IOS system in the embodiment of the present invention, in the present embodiment, a single-view keyboard interface xkeyboardddoeview is created for the UI interface of the integrated system, a keyboard interface xkeyboardddoeview is added to pop up and monitor, and a keyboard interface retraction button UIButton is added to the xkeyboardddoeview.
In order to realize the functions, firstly, the integrated system UI interface creates a single-case view keyboard interface, and the single-case view creation aims to ensure that the keyboard interface is created only once and reduce the memory.
S2, adding a default style in the keyboard interface;
after step S1 is completed, the xkeyboardddoneview default style is set, such as default background color Hex value # FFFFFF, height 44pt, no border. Of course, the embodiment of the present invention only illustrates one of the practical cases, and the pattern may be adjusted in other scenarios.
And S3, adding a display method and a removal method for displaying the keyboard interface in the keyboard interface to obtain the keyboard interface which is finally displayed and output.
After the default style setting is completed, the system adds a show type method, the method mainly completes the display of XKeyboardDoneView, the show method has a removed closure callback parameter, and the callback parameter is mainly convenient for a user to perform other operations when the user retracts the keyboard interface.
Finally, a remove method is added, which mainly completes the removal of XKeyboardDoneView.
Further, in the embodiment of the present invention, a monitoring method of the keyboard interface is further required to be added, in the monitoring method, the monitoring method of the keyboard interface is set as a notification method, the pop-up animation of the keyboard interface is moved on the keyboard of the keyboard interface xkeyboardddeneview, and the xkeyboardddeneview is removed when the keyboard interface is retracted.
Further, in the embodiment of the present invention, a keyboard interface retraction button (as shown in fig. 2) needs to be added to the keyboard interface, which specifically includes the following steps:
1. creating a UI button, wherein the height of the UI button is 34pt, the UI button is vertically centered with XKeyboardDoneView, the right side of the UI button is 15pt away from the right side of a mobile phone screen, and the width of the UI button is self-adaptive according to texts or pictures;
2. adding a click event to a UI button, and executing a removing method of XKeyboardDoneView and a callback function of XKeyboardDoneView by using the click event;
further, in the embodiment of the present invention, in order to improve the adaptability of the keyboard interface and the user experience, a height interface of the xkeyboardddoneview may be opened, and the user may customize the height of the xkeyboardddoneview; a background color interface of XKeyboardDoneView can be opened, and a user can define the background color of XKeyboardDoneView by self; the interface of the UI button can be opened, and the user can customize the content or the picture and other attributes of the UI button.
The method provided by the embodiment of the invention realizes a convenient keyboard interface packing method, provides a user-defined building to realize the convenient packing of the keyboard interface of the iOS system, solves the problem of packing all keyboards only by using simple codes, is simple to operate, and has more humanization in packing operation.
Corresponding to the method provided by the embodiment of the present invention, an embodiment of the present invention further provides a control system for a keyboard interface, and as shown in fig. 3, the present invention is a schematic structural diagram of a control system for a keyboard interface in the embodiment of the present invention, where the system includes:
the creating module 301 is configured to create a keyboard interface of a single-instance view on an integrated system UI interface, where the keyboard interface includes a keyboard pop-up monitor and a keyboard retract button;
a processing module 302, configured to add a default style in the keyboard interface, where the default style at least includes a background color and an interface height; and adding a display method and a removal method for displaying the keyboard interface in the keyboard interface to obtain the keyboard interface which is finally displayed and output.
Further, in this embodiment of the present invention, the processing module 302 is further configured to set a monitoring mode of the keyboard interface to be a notification mode; and moving the pop-up animation of the keyboard interface above the keyboard of the keyboard interface and removing the pop-up animation when the keyboard interface is folded.
Further, in this embodiment of the present invention, the processing module 302 is further configured to create a UI button at a designated position of the keyboard interface; and adding a click event to the created UI button, wherein the click event is used for executing a removal method of the keyboard interface and a callback function.
Further, in this embodiment of the present invention, the processing module 302 is further configured to determine a vertical position of the UI button in the keyboard interface and a distance from a boundary, and determine a height of the UI button in the keyboard interface; generating the UI button in the keyboard interface according to the vertical position, a distance between boundaries, and the height.
While the preferred embodiments of the present application have been described, additional variations and modifications in those embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. It is therefore intended that the following appended claims be interpreted as including the preferred embodiment and all such alterations and modifications as fall within the scope of the application, including the use of specific symbols, labels, or other designations to identify the vertices.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present application without departing from the spirit and scope of the application. Thus, if such modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is intended to include such modifications and variations as well.

Claims (8)

1. A method for controlling a keyboard interface, the method comprising:
the method comprises the steps that a keyboard interface of a single-case view is created through an integrated system UI interface, wherein the keyboard interface comprises a keyboard pop-up monitoring button and a keyboard retracting button;
adding a default style in the keyboard interface, wherein the default style at least comprises a background color and an interface height;
and adding a display method and a removal method for displaying the keyboard interface in the keyboard interface to obtain the keyboard interface which is finally displayed and output.
2. The method of claim 1, prior to the integrated system UI interface creating the keyboard interface for the single-instance view, the method further comprising:
setting the monitoring mode of the keyboard interface as a notification mode;
and moving the pop-up animation of the keyboard interface above the keyboard of the keyboard interface and removing the pop-up animation when the keyboard interface is folded.
3. The method of claim 1, wherein obtaining a keyboard interface for eventual display output comprises:
creating a UI button at a designated position of the keyboard interface;
and adding a click event to the created UI button, wherein the click event is used for executing a removal method of the keyboard interface and a callback function.
4. The method of claim 1, wherein creating a UI button at a designated location of the keyboard interface comprises:
determining a vertical position of the UI button in the keyboard interface and a distance from a boundary, and determining a height of the UI button in the keyboard interface;
generating the UI button in the keyboard interface according to the vertical position, a distance between boundaries, and the height.
5. A control system for a keyboard interface, the system comprising:
the system comprises a creating module, a display module and a display module, wherein the creating module is used for creating a keyboard interface of a single-case view by integrating a system UI interface, and the keyboard interface comprises a keyboard popup monitor and a keyboard retraction button;
the processing module is used for adding a default style in the keyboard interface, wherein the default style at least comprises a background color and an interface height; and adding a display method and a removal method for displaying the keyboard interface in the keyboard interface to obtain the keyboard interface which is finally displayed and output.
6. The system of claim 5, wherein the processing module is further configured to set a listening mode of the keyboard interface to a notification mode; and moving the pop-up animation of the keyboard interface above the keyboard of the keyboard interface and removing the pop-up animation when the keyboard interface is folded.
7. The system of claim 5, wherein the processing module is further configured to create a UI button at a designated location of the keyboard interface; and adding a click event to the created UI button, wherein the click event is used for executing a removal method of the keyboard interface and a callback function.
8. The system of claim 5, wherein the processing module is further configured to determine a vertical position of the UI button in the keyboard interface and a distance from a boundary, and determine a height of the UI button in the keyboard interface; generating the UI button in the keyboard interface according to the vertical position, a distance between boundaries, and the height.
CN202010186723.0A 2020-03-17 2020-03-17 Control method and system of keyboard interface Pending CN111352569A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010186723.0A CN111352569A (en) 2020-03-17 2020-03-17 Control method and system of keyboard interface

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010186723.0A CN111352569A (en) 2020-03-17 2020-03-17 Control method and system of keyboard interface

Publications (1)

Publication Number Publication Date
CN111352569A true CN111352569A (en) 2020-06-30

Family

ID=71192902

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010186723.0A Pending CN111352569A (en) 2020-03-17 2020-03-17 Control method and system of keyboard interface

Country Status (1)

Country Link
CN (1) CN111352569A (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101295249A (en) * 2008-06-26 2008-10-29 腾讯科技(深圳)有限公司 Method and system for dynamic configuration management of software interface style
CN102566994A (en) * 2010-12-10 2012-07-11 北大方正集团有限公司 System and method for user-defined operation and display
US20120235917A1 (en) * 2011-03-14 2012-09-20 Amihi Miron Context-based keyboard
CN108304131A (en) * 2018-01-09 2018-07-20 武汉斗鱼网络科技有限公司 Keyboard optimized treatment method, storage medium, electronic equipment and system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101295249A (en) * 2008-06-26 2008-10-29 腾讯科技(深圳)有限公司 Method and system for dynamic configuration management of software interface style
CN102566994A (en) * 2010-12-10 2012-07-11 北大方正集团有限公司 System and method for user-defined operation and display
US20120235917A1 (en) * 2011-03-14 2012-09-20 Amihi Miron Context-based keyboard
CN108304131A (en) * 2018-01-09 2018-07-20 武汉斗鱼网络科技有限公司 Keyboard optimized treatment method, storage medium, electronic equipment and system

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
龙晓颖: "基于iOS的移动应用UI架构库的设计与实现", 《中国优秀硕士学位论文全文数据库 信息科技辑》, pages 138 - 927 *

Similar Documents

Publication Publication Date Title
US11474657B2 (en) Screen casting method, apparatus, terminal and storage medium
EP2825950B1 (en) Touch screen hover input handling
US7432928B2 (en) User interface state reconfiguration through animation
EP3454196B1 (en) Method and apparatus for editing object
US20220334855A1 (en) Multi-task operation method, electronic device, and storage medium
CN105335041A (en) Method and apparatus for providing application icon
CN111443863A (en) Page control method and device, storage medium and terminal
EP3822758B1 (en) Method and apparatus for setting background of ui control
TW201351259A (en) User-resizable icons
CN104238877A (en) Icon control method and terminal
US9953447B2 (en) Making a computer display more expressive
CN103246458B (en) The method of self-defined soft keyboard and communication terminal
CN104238896A (en) Function menu display method and device
TW201525776A (en) Invocation control over keyboard user interface
CN109298909B (en) Window adjusting method, mobile terminal and computer readable storage medium
WO2015184736A1 (en) Method and terminal for transforming background picture of touchscreen device
WO2023046101A1 (en) Icon display method and apparatus, and electronic device
CN114168238A (en) Method, system, and computer-readable storage medium implemented by a computing device
CN106843728A (en) A kind of operation trace processing method and system
US20130169660A1 (en) Image editing system and method
CN112578986A (en) Method, system and terminal for carrying out configuration user-defined human-computer interface through touch screen
CN111796746A (en) Volume adjusting method, volume adjusting device and electronic equipment
CN111352569A (en) Control method and system of keyboard interface
KR20160053545A (en) Method for inputting command editing object in word processor
WO2019024507A1 (en) Touch control method and device, and terminal

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