Uploading user photos and videos to server is a common practice for customising app user’s profile or creating a post in social media. For example, Facebook, Twitter and WhatsApp, etc. Apple provides a simple-to-use tool UIImagePickerController to allow developer to implement this feature within app in an easy way.

Developer can define the media type (photo or video) and the source (user’s album or camera) of file. User can also crop the selected image and cut the selected video before sending to app.

In this article, it will cover the setup and main properties of each media selection method. Hope this can help you learn more about media selection in iOS! Let’s start!

#imagepicker #ios #uiimagepickercontroller #ios-app-development #swift-programming

Swift UIImagePickerController
1.10 GEEK