ios - Custom TextField in UIAlertController -
this question has answer here:
- how add textfield in uialertcontroller? 3 answers
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
Post a Comment