ios - Custom TextField in UIAlertController -


this question has answer here:

i add textfield in uialertcontroller using

uialertcontroller *alertcontroller = [uialertcontroller alertcontrollerwithtitle:@"title" message:@"message" preferredstyle:uialertcontrollerstylealert];     [alertcontroller addtextfieldwithconfigurationhandler:^(uitextfield * _nonnull textfield) {      }]; 

is there possibility add custom textfield inside alert controller?

i not think it's possible use uitextfield subclass in uialertcontroller. can edit textfield's properties in configuration handler.


Comments

Popular posts from this blog

Is there a better way to structure post methods in Class Based Views -

reflection - How to access the object-members of an object declaration in kotlin -

php - Doctrine Query Builder Error on Join: [Syntax Error] line 0, col 87: Error: Expected Literal, got 'JOIN' -