Deprecated: trim(): Passing null to parameter #1 ($string) of type string is deprecated in /var/www/html/extensions/Variables/includes/ExtVariables.php on line 198
UIKeyboardImpl: Difference between revisions - iPhone Development Wiki

UIKeyboardImpl: Difference between revisions

From iPhone Development Wiki
m (fixing typo)
(navbox)
Line 28: Line 28:
----
----
<references />
<references />
{{occlass|library=UIKit.framework|navbox=on}}

Revision as of 22:14, 10 July 2014

recursiveDefinition example on 7.1.2:

<UIKeyboardImpl: frame = (0 0; 320 216);>
   | <UIKeyboardLayoutStar: frame = (0 0; 320 216);>
   |    | <UIKBBackgroundView: frame = (0 0; 320 216);>
   |    | <UIKBKeyplaneView: frame = (0 0; 320 216);>
   |    |    | <UIKBKeyView: frame = (1 119; 40 42);>
   |    |    | <UIKBKeyView: frame = (279 119; 40 42);>
   |    |    | <UIKBKeyView: frame = (1 173; 38 42);>
   |    |    | <UIKBKeyView: frame = (41 173; 38 42);>
   |    |    | <UIKBKeyView: frame = (81 173; 158 42);>
   |    |    | <UIKBKeyView: frame = (241 173; 78 42);>
   |    | <UIKBDimmingView: frame = (0 0; 320 216);>

Accessing the shared instance

Signature - (UIKeyboardImpl *)sharedInstance;
Available in 2.0 –

This method is used to access the shared UIKeyboardImpl instance.

Programmatically inserting text

Signature - (void)addInputString:(NSString *)string;
Available in 2.0 –

You can use the following method to insert text into the current text field or text view.[1]