is now LinkedIn Learning!

To access courses again, please join LinkedIn Learning

All the same content you know and love

Plus, personalized course recommendations tailored just for you

Get LinkedIn Premium features to contact recruiters or stand out for jobs

Try LinkedIn Learning for free
Questions? Visit our help center.
Skip navigation

Modeling relationships

Modeling relationships: Core Data for iOS and OS X
Modeling relationships: Core Data for iOS and OS X

Join for an in-depth discussion in this video Modeling relationships, part of Core Data for iOS and OS X.

Resume Transcript Auto-Scroll
Skill Level Intermediate
4h 29m
Show More Show Less

Q: In the CoursesViewController.m file, I receive a message that the method dismissModalViewControllerAnimated is no longer supported by Apple. Is there a newer method to use?

A: You may have received the warning that a call to the dismissModalViewControllerAnimated: method is now deprecated.

This is a recently deprecated method, so the code _will_ continue to work using that call, but to remove the warning, change the code from:

[self dismissModalViewControllerAnimated:YES];

to the current recommended version:

[self dismissViewControllerAnimated:YES completion:nil];

It should take care of that message.

Skills covered in this course
Desktop Apps Developer Mobile Apps Databases iOS Mac OS X

Continue Assessment

You started this assessment previously and didn't complete it. You can pick up where you left off, or start over.

Start My Free Month

Start your free month on LinkedIn Learning, which now features 100% of courses. Develop in-demand skills with access to thousands of expert-led courses on business, tech and creative topics.

Start My Free Month

You are now leaving and will be automatically redirected to LinkedIn Learning to start your free trial.