-8

Why with this code, I've a fatal error SIGABRT ???

         UIAlertController *alert = [UIAlertController
                                 alertControllerWithTitle:@"SUCCES"
                                 message:@"Nous avons ajouté avec succès votre vol dans votre calendrier."
                                 preferredStyle:UIAlertControllerStyleAlert];

     [self presentViewController:alert animated:YES completion:nil];
pilou
  • 89
  • 1
  • 1
  • 9

1 Answers1

-2

Seems this code is working Fine, You are some how mistaken in other section i think, post your detail code for rectifying the reason of error.enter image description here

Abhishek Mitra
  • 3,280
  • 4
  • 25
  • 43
  • Why Down Vote.. ?? :/ – Abhishek Mitra Mar 14 '17 at 14:11
  • Why is this answer accepted? How does it solve the original issue? Answers that simply state that "the code works fine" are not acceptable answers on stack overflow. This should be posted as a comment, not as an answer. – rmaddy Mar 14 '17 at 15:38
  • @rmaddy Well may be my suggestion or prediction worked for him/her, what he has posted was working fine when I did that code by my self and post a screenshot, nothing wrong in it :( . – Abhishek Mitra Mar 14 '17 at 16:18