creation of an uiViewController with delegate protocol to manage the photoPicker