I found this solution online, but it involves creating an image for your button: http://www.neoos.ch/blog/37-uikeyboardtypenumberpad-and-the-missing-return-key
You can also use the same method to get the UIKeyboard view shown in the example and do the following as suggested by @Jim:
UIToolbar *keyboardViewToolbar = [[UIToolbar alloc] initWithFrame:CGRectMake(0, 206, 320, 44)]; UIBarButtonItem *keyboardDoneButton = [[UIBarButtonItem alloc] initWithTitle:@"Done" style:UIBarButtonItemStyleDone target:self action:@selector(doneSettingDate)]; UIBarButtonItem *title = [[UIBarButtonItem alloc] initWithTitle:@"Enter Number" style:UIBarButtonItemStylePlain target:nil action:nil]; UIBarButtonItem *spacer1 = [[UIBarButtonItem alloc] initWithBarButtonSystemItem:UIBarButtonSystemItemFlexibleSpace target:nil action:nil]; UIBarButtonItem *spacer2 = [[UIBarButtonItem alloc] initWithBarButtonSystemItem:UIBarButtonSystemItemFlexibleSpace target:nil action:nil]; NSArray *barButtonItems = [[NSArray alloc] initWithObjects:spacer1, title, spacer2, pickerDoneButton, nil]; [keyboardViewToolbar setItems:barButtonItems];
And add this view to the keyboard view.
In addition, as a separate offer, given that you are just starting. On iTunes U, you can download iOS Stanford class app development; this is a very comprehensive iOS development course, available for free from the iTunes Store.
8vius source share