I think, you have been perform task with them. But I think it's useful for someone.
Below code is working perfectly with my requirements. Please do changes according to your requirements.
UIAlertController *alertController = [UIAlertController alertControllerWithTitle:nil
message:nil
preferredStyle:UIAlertControllerStyleActionSheet];
UIAlertAction *setCoverPhoto = [UIAlertAction
actionWithTitle:@"First Button"
style:UIAlertActionStyleDefault
handler:^(UIAlertAction *action){
NSLog(@"First Button");
}];
[alertController addAction:setCoverPhoto];
UIAlertAction *deleteImageAct = [UIAlertAction
actionWithTitle:@"Second Button"
style:UIAlertActionStyleDefault
handler:^(UIAlertAction *action) {
NSLog(@"Second Button");
}];
[alertController addAction:deleteImageAct];
UIAlertAction *setImageASNotif = [UIAlertAction
actionWithTitle:@"Third Button"
style:UIAlertActionStyleDefault
handler:^(UIAlertAction *action) {
NSLog(@"Third Button");
}];
[alertController addAction:setImageASNotif];
alertController.view.tintColor = [UIColor whiteColor];
UIView *subView = alertController.view.subviews.firstObject;
UIView *alertContentView = subView.subviews.firstObject;
[alertContentView setBackgroundColor:[UIColor darkGrayColor]];
alertContentView.layer.cornerRadius = 5;
[self presentViewController:alertController animated:YES completion:nil];