Learn Courses My Dashboard

UIImageView and UIImagePickerController

Hello.
Can somebody answer at least on one of this 2 questions.
How to get access to the .photoLibrary via UIImageView?
How to save chosen image from UIImagePickerController.sourceType.photoLibrary to UIImageView?