I have an application where I’m trying to implement my own custom keyboard. This custom keyboard will look almost exactly like the default iPhone system keyboard with little twists here and there to match my app (ie color, font, etc.).
My first step is trying to replicate the standard keyboard button. Does anyone have any idea how to do this? I tried retrieving the keyboard (via sifting through UIWindows subviews) and was able to accomplish this, however when I looked at the keyboards subviews to try and retrieve the custom button, it appeared the keyboard barely had enough subviews to constitute all the buttons that it contains. On a different question, someone mentioned that the keyboard buttons are not actual views and are drawn on the keyboard view. Given that I have the UIKeyboards view, is there anyway to retrieve the drawing parameters from this to figure out how to draw the buttons like apple does (I’m not too familiar with drawing)?
LKNumberPad seems to have got it down pat: