UIPeripheralHostView

From iPhone Development Wiki
Revision as of 07:16, 11 July 2014 by Twodayslate (talk | contribs) (Removed recursive definition in favor of the image. Added an explanation)
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

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

Keyboard.png

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