Pick an Image / image picker

This example is to show how to pick an image from a soure ( in this case, the Saved Photos )

 

First create the function for the Image Picker:

Then this is what we are actually gonna tie up to our button for loading an image: