[UIImagePicker] Create New Album For My App Swift

Create new album use UIImagePickerController to take a photo by camera of iPhone, must setting info.plist



or use source code
<key>NSCameraUsageDescription</key>
<string>Take your photo</string>
<key>NSPhotoLibraryUsageDescription</key>
<string>Take your foto from library</string>
<key>NSPhotoLibraryAddUsageDescription</key>
<string>save in your library</string>

- Create new file class ".swift " use "NSObject"




- After that create new viewController.swift





Buy me a coffeeBuy me a coffee

No comments: