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 -

Python Tornado package error when running server -

Qt QGraphicsScene is not accessable from QGraphicsView (on Qt 5.6.1) -