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

angular - DownloadURL return null in below code -

meteor - inserting data to database gives error "insert failed: Method '/texts/insert' not found" -