ios - iOS8 custom keyboard - add UIImageView -


i built keyboard keyboard extension available in ios 8. created custom view , want create button image background, image not appear in keyboard. needs done put image on custom keyboard?

my code (call view):

uiview *layout = [[[nsbundle mainbundle] loadnibnamed:@"kyyboardlogic" owner:self options:nil] objectatindex:0]; [self.inputview addsubview:layout]; 

thanks: yakir.

instead of adding subview, use code. adds view input view given superview.

self.keyboard = [[[nsbundle mainbundle] loadnibnamed:@"keyview" owner:nil options:nil] objectatindex:0]; self.inputview = (id)self.keyboard; 

Comments

Popular posts from this blog

google chrome - Developer tools - How to inspect the elements which are added momentarily (by JQuery)? -

angularjs - Showing an empty as first option in select tag -

php - Cloud9 cloud IDE and CakePHP -