December 2024
Beginner to intermediate
584 pages
12h 58m
English
In the previous chapter, you created the RatingView class and added it to the Add New Journal Entry and Journal Entry Detail screens.
In this chapter, you will complete the implementation of the Add New Journal Entry screen by adding a way for the user to get a photo from the camera or photo library, which they can then add to a new journal entry. You’ll start by adding a tap gesture recognizer to the image view in the New Entry Scene, and configure it to display an image picker controller instance. Then, you will implement methods from the UIImagePickerControllerDelegate protocol, which allows you to get a photo from the camera or photo library and make the photo smaller before it is saved ...
Read now
Unlock full access