Skip to content

Selecting images with UIImagePickerController

   

It is a sample program to get an image from the photo library of the iPhone.

In order to select images from the photo library, you have to specify that the photo library is used in the info.plist file of the project.
If you don't write this, UIImagePickerController won't work.
Use the following values for the key
NSPHOtoLibraryUsageDescription.
Type is String and the reason for its use is written in the Value.
I've heard that if you don't write the reason for using it, it will be rejected at the time of examination.
It looks like the image below.

alt alt alt alt

The code looks like this

  1. Playing music with Swift
  2. Array(Ruby)
  3. Whitening the UIStatusBar
  4. UITableView and UISearchBar
  5. UserNotification(LocalNotification)
  6. Speech Recognition(SFSpeechRecognizer)
  7. UITextField