© Wallace Wang 2019
Wallace WangPro iPhone Development with Swift 5https://doi.org/10.1007/978-1-4842-4944-4_13

13. Using the Camera

Wallace Wang1 
(1)
San Diego, CA, USA
 

One of the most useful accessories on every smartphone has been the camera. While early smartphone cameras could only capture low-resolution images, today’s cameras on the iPhone can capture amazingly high-quality images with resolutions that rival professional cameras of just a few generations ago. Not surprisingly, the camera is one of the most popular hardware accessories for an app to access and control.

To access the camera in an iOS device, you need to follow several steps:
  • Set privacy settings in the Info.plist file to request access to both the camera and the photo library. ...

Get Pro iPhone Development with Swift 5: Design and Manage Top Quality Apps now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.