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
UIPeripheralHostView: Difference between revisions - iPhone Development Wiki

UIPeripheralHostView: Difference between revisions

From iPhone Development Wiki
(Removed recursive definition in favor of the image. Added an explanation)
(screenshot doesn't have to be displayed at double-size. :) also adding navbox)
Line 1: Line 1:
This view contains the iOS keyboard. It is made up of the background (UIKBInputBackdropView) and the foreground (UIKeyboardAutomatic)
'''UIPeripheralHostView''' contains the iOS keyboard. It is made up of the background (<code>UIKBInputBackdropView</code>) and the foreground (<code>UIKeyboardAutomatic</code>).


[[File:Keyboard.png]]
[[File:Keyboard.png|500px]]


The Keyboard button squares and the text are actually separate images.  Each are contained in a UIKBSplitImageView which has a UIImage. These are rendered and cached.  
The keyboard button squares and the text are actually separate images.  Each are contained in a <code>UIKBSplitImageView</code> which has a <code>UIImage</code>. These are rendered and cached.  
The more dynamic keys (shift, delete, space, 123, world icon, return, etc) are UIKBKeyViews


The best way to get the UIPeripheralHostView is via [%c(UIPeripheralHost activeInstance]'s _hostView ivar
The more dynamic keys (shift, delete, space, 123, world icon, return, etc) are <code>UIKBKeyViews</code>.
 
The best way to get the <code>UIPeripheralHostView</code> is via <code>[%c(UIPeripheralHost activeInstance]</code>'s _hostView ivar.
 
{{occlass|library=UIKit.framework|navbox=on}}

Revision as of 20:50, 13 July 2014

UIPeripheralHostView contains the iOS keyboard. It is made up of the background (UIKBInputBackdropView) and the foreground (UIKeyboardAutomatic).

Error creating thumbnail: File missing

The keyboard button squares and the text are actually separate images. Each are contained in a UIKBSplitImageView which has a UIImage. These are rendered and cached.

The more dynamic keys (shift, delete, space, 123, world icon, return, etc) are UIKBKeyViews.

The best way to get the UIPeripheralHostView is via [%c(UIPeripheralHost activeInstance]'s _hostView ivar.