Checkbox in UIAlertController with actionsheet in objective c [duplicate]
问题 This question already has an answer here : Add Checkbox List to UIAlertController (1 answer) Closed 3 years ago . I want to add the checkbox i.e uibutton and uilabel in one option in UIAlertAction and only button in another UIAlertAction in UIAlertController. Please help and advice how to achieve it. UIAlertController *alert = [UIAlertController alertControllerWithTitle:@"My Alert" message:@"This is an action sheet." preferredStyle:UIAlertControllerStyleActionSheet]; // 1 UIAlertAction