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
Post a Comment