Hi guys,
Hoping some one can help me to get the progress of the download for an application install.( i.e. lets consider i have the application URL in my private server and using the “[[UIApplication sharedApplication] openURL:[NSURL URLWithString:(iTunesLink or server link)]];” to start a application download is there a way to get the download progress on the screen ). Some thing similar to what happens in test flight. or is there any other way or suggestion.
Thanks in advance
Do you mean you want to show a download progress of a file within your app?
Not Just a file . I have the IPA bundled and hosted in my server. i want to show the user the progress of app download when he selects download . Just like the TestFlight App
Unfortunately, when you use openURL: to trigger an install, your app hands off control to the system and there’s no callback or delegate to hook into for progress. Your best bet is to look into MDM (Mobile Device Management) protocols or serve the IPA via an OTA manifest (plist) — but even then, the progress UI is owned by iOS, not your app. TestFlight achieves this because it’s deeply integrated at the OS level, something third-party apps simply don’t have access to.