You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+6Lines changed: 6 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -143,6 +143,12 @@ alertView.addAction(action)
143
143
144
144
`buttonBackgroundColor: UIColor` -> Sets the background color of action button. If not set, it uses `alertBackgroundColor` of CDAlertView.
145
145
146
+
### List of available methods
147
+
148
+
`textFieldBecomeFirstResponder()` -> Calls the `becomeFirstResponder()` method of `textField` if `alert.isTextFieldHidden` set to `true`. Otherwise, does nothing.
149
+
150
+
`textFieldResignFirstResponder()` -> Calls the `resignFirstResponder()` method of `textField` if `alert.isTextFieldHidden` set to `true`. Otherwise, does nothing.
151
+
146
152
## Example
147
153
148
154
To run the example project, clone the repo, and run `pod install` from the Example directory first.
0 commit comments