Hi, I am using WebClient for downloading PDF. When actual iOS device sleeps or when the power button is pressed, the download task of WebClient gives an error when the device is opened. Any workaround for this issue?
Forget about using WebClient for this.
You need to read up on NSUrlSession and Background Transfer Service.
Thanks for the help JoePro. Although currently, I am still using WebClient. I will consider using NSUrlSession in future.
Xamarin Inc., as a wholly-owned Microsoft subsidiary acting as a separate legal entity, adheres to the Microsoft Privacy Statement: Privacy & cookies