From the course: Advanced iOS Development: Keychain Access
Unlock the full course today
Join today to access over 22,600 courses taught by industry experts or purchase this course individually.
Challenge: Delete from keychain - iOS Tutorial
From the course: Advanced iOS Development: Keychain Access
Challenge: Delete from keychain
(bouncy music) - [Instructor] Okay, it's challenge time. So for this challenge, I want you to delete something from the keychain. Now, it's very similar to the search, so all you have to do is create a dictionary that specifies what you want to delete. So you might do something like GenericPassword and delete them all, or be a little bit more specific. And, of course, you have to call the right function. So instead of SecItemAdd, you'll call something else, and you can probably guess what it is. So you might want to create a new account first and then delete it. That way, you leave anything you already have in the keychain as it is. So good luck and we'll look at the solution in the next video.
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.