Upload a new photo from iOS photo Gallery


I am try to automate an iOS app and i am struggling to select an image from the image Gallery. Any image from the Gallery will do.

The step is as follow

  • Click on the default Avatar
  • Popup menu display with option to take a photo or select from Library
  • Select from Choose from Library and Select the first image in Moment

Has anyone managed to achieve this?