iPad – Why does UIALERTCONTROLLER in iOS7 receive NIL values?

Why is it good that UIAlertController in iOS7 needs to be presented but receives nil value when working on iOS8. Maybe I know that is because iOS7 does not support UIAlertController class?

UIAlertController *view=[UIAlertController
alertControllerWithTitle:@"Hello"
message:nil
preferredStyle:UIAlertControllerStyleAlert];< br />
[self presentViewController:view animated:NO completion:nil];

These classes are only available for iOS8 and later. See class reference

Why UIAlertController in iOS7 needs to be presented but receives nil value when working on iOS8 is good, I may know Is that because iOS7 does not support the UIAlertController class?

UIAlertController *view=[UIAlertController
alertControllerWithTitle:@"Hello"
message:nil
preferredStyle:UIAlertControllerStyleAlert];< br />
[self presentViewController:view animated:NO completion:nil];

These classes are only available for iOS8 and later. See class reference

WordPress database error: [Table 'yf99682.wp_s6mz6tyggq_comments' doesn't exist]
SELECT SQL_CALC_FOUND_ROWS wp_s6mz6tyggq_comments.comment_ID FROM wp_s6mz6tyggq_comments WHERE ( comment_approved = '1' ) AND comment_post_ID = 965 ORDER BY wp_s6mz6tyggq_comments.comment_date_gmt ASC, wp_s6mz6tyggq_comments.comment_ID ASC

Leave a Comment

Your email address will not be published.