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 -

What is happening when Matlab is starting a "parallel pool"? -

php - Cannot override Laravel Spark authentication with own implementation -