tokenize - IOS: Tokenizer on UITextInput is never called -


i have uitextinput implementation 1 small problem seems screwing ability have autocapitalization:

the tokenizer property never gets called (even after calling becomefirstresponder), custom tokenizer never gets instantiated or used.

- (id<uitextinputtokenizer>)tokenizer { nslog(@"%s", __func__); if (tokenizer == nil) {     tokenizer = [mycustomtokenizer alloc] initwithtextinput:self]; } return tokenizer; 

does have idea why happen?

more info may help: uitextinput implementation on subclass of uicollectionview

figured out. returning nil selectedtextrange when should have been returning selection of length 0.


Comments

Popular posts from this blog

Android layout hidden on keyboard show -

google app engine - 403 Forbidden POST - Flask WTForms -

c - Why would PK11_GenerateRandom() return an error -8023? -