ios - replace source of predictive texts in custom keyboard -
is there way replace source of predictive texts in ios 8 custom keyboard extension , show in predictive text bar? class predictive text bar?
thanks lot. i've read docs not find answers. please help.
1) can use uilexicon, technically dictionary of key-value pairs of strings wrapped in uilexiconentry object
apple give example of "iphone" turning "iphone" , "nur" turning "nur n. eytan" (from address book) etc..
but can make smarter things.
one smart thing example create open source project takes in json of strings , converts uilexicon :) i'd use it!
2) apple give 320 pixels width , ±215 pixels height keyboard.
you prohibited , technically can't draw outside of these boundaries. companies releasing custom keyboards did reduce size of keys in 20%-25% in order add candidate view (predictive text bar)
edit: can adjust height of keyboard on ios8.0 - here's pointer: ios 8 custom keyboard: changing height
good luck!
Comments
Post a Comment