University dissertation question

I wanted to find out how to allow users to upload and send documents to a server. E.G. A employee signs up, picks company that they work for takes a picture of the timesheet then sends it off to the office. I am stuck and have no clue on how to do it.

I’d appreciate all the help, I am currently learning how to create a login page and also fire base from Chris

Welcome to the community!

Like anything with programming there’s many ways of doing things.

You could use MFMailConposeViewController to send an email.
https://www.hackingwithswift.com/example-code/uikit/how-to-send-an-email

Or you can upload the file to Firebase storage, and I believe create a “cloud function” that automatically emails it to a specific email

Those are just the 2 I can think of off the top of my head, but there’s definitely multiple ways of doing this.

Hey! Have you thought about using integrating your app with Dropbox?
I haven’t looked into their API but this looks like it’d be a good use case?