UIActivityViewController to share files

Shwmae!

I’m trying to allow users to share a wav file and wanted to have a go at using the UIActivityViewController but always get tied up when trying to use viewcontrollers. This will be the only view controller in the app, and is being made for both iPhone & iPad, and the wav files are saved into the documents dir

Thanks,
Miles