Chapter 17
Working with Forms and Camera
My biggest motivation? Just to keep challenging myself. I see life almost like one long University education that I never had. Every day I'm learning something new.
- Richard Branson
So far, the FoodPin app has been limited to displaying content only. We now need to provide users with the ability to add new restaurants. In this chapter, we will develop a new screen that features an input form for collecting restaurant information. Within this form, users will be able to select a restaurant photo from the built-in photo library. Throughout this process, you will learn a variety of techniques:
- Creating a form input using
TextField
andTextEditor
- Accessing the built-in photo library and working with the camera
Figure 17-1 provides a preview of the screen we are about to build. It showcases a simple input form consisting of text fields and a text view.
To access the full version of the book, please get the full copy here. You will also be able to access the full source code of the project.