the suggested solution is fine if you want to select from existing photo library or embedded camera. Otherwise use AirDrop. you can move files (text, photos etc) from another iPhone/iPad or even to/from you desktop very easily. Of course I do not know what support Xojo has for Airdrop… but I use it in Swift all the time, particularly to export data from a Healthapp I wrote