Friend-LGA / LGAlertView

Customizable implementation of UIAlertViewController, UIAlertView and UIActionSheet. All in one. You can customize every detail. Make AlertView of your dream! :)
MIT License
1.07k stars 212 forks source link

LGAlertView.m -line 779 #75

Closed firenessZX closed 2 months ago

firenessZX commented 3 years ago

I got a error when compiled use Xcode 12.5, it is in line 779 on LGAlertView.m file," return [[self alloc] alertViewWithTextFieldsAndTitle:title message:message numberOfTextFields:numberOfTextFields textFieldsSetupHandler:textFieldsSetupHandler buttonTitles:buttonTitles cancelButtonTitle:cancelButtonTitle destructiveButtonTitle:destructiveButtonTitle delegate:delegate];"

It should be replace with " return [[self alloc]initWithTextFieldsAndTitle:title message:message numberOfTextFields:numberOfTextFields textFieldsSetupHandler:textFieldsSetupHandler buttonTitles:buttonTitles cancelButtonTitle:cancelButtonTitle destructiveButtonTitle:destructiveButtonTitle delegate:delegate];"

ningning21 commented 3 years ago

hey body,do you solve this problem?

yankat commented 3 years ago

I'm also having the same issue!

firenessZX commented 3 years ago

hey body,do you solve this problem?

I'm also having the same issue!

Yes, I fixed this problem by changed the third library,It should be replace with return [[self alloc]initWithTextFieldsAndTitle:title message:message numberOfTextFields:numberOfTextFields textFieldsSetupHandler:textFieldsSetupHandler buttonTitles:buttonTitles cancelButtonTitle:cancelButtonTitle destructiveButtonTitle:destructiveButtonTitle delegate:delegate];

doubleJJJJ commented 3 years ago

hey body,do you solve this problem?

I'm also having the same issue!

Yes, I fixed this problem by changed the third library,It should be replace with return [[self alloc]initWithTextFieldsAndTitle:title message:message numberOfTextFields:numberOfTextFields textFieldsSetupHandler:textFieldsSetupHandler buttonTitles:buttonTitles cancelButtonTitle:cancelButtonTitle destructiveButtonTitle:destructiveButtonTitle delegate:delegate];

谢谢!这方法可以!