Chapter 17

  1. Which framework is used to implement a simple video player?

c) AVKit.

  1. Which object is used to play a local audio file?

b) AVAudioPlayer.

  1. What are remote commands, and where do they come from?

c) Media playback-related commands that can come from any external source, including the lock screen, control center, or even the user's headphones.

  1. Which object can be used to quickly take a picture?

a) UIImagePickerController.

  1. Which of the following is not needed to record a video with an AVCaptureSession object?

b) Permission to access the user's photo library.

  1. What information tends to get lost when you convert a UIImage instance to a CGImage instance?

a) The orientation.