Keep iPhone from sleeping?
I have an app that requires a document to be uploaded to the server. This takes awhile and if my iPhone goes to sleep during the process, it fails with the message, "Upload timed out." I have tried plugging the phone into a power source in the interim but it still happens. Is there a way to temporarily keep the phone from automatically sleeping?
iPhone 6 Plus, iOS 8.2, 128 GB