0

My ios app was rejected by apple, and they asked me to do the following to resolve the problem. Can someone please help me fix this. I'm using xcode 9.3, but I'm not too much familiar with xcode.

To resolve this issue, please revise your app to include a mechanism to disclose the download size of the additional resources needed to continue using your app. Additionally, be sure to include a prompt to allow users to choose whether or not to start the download of the additional resources.

Balde
  • 3
  • 5
  • do you have any additional data to download in your app ? if yes, you should show popup to the user informing the additional data download size and ask permission from user. – vivekDas Oct 29 '18 at 10:13
  • yes viveKDas, but how to add that kind of popup to my app with xcode? – Balde Oct 29 '18 at 16:20
  • When you download the additional data, don't download automatically, Show an alert to the user with message about the data and size you are going to download, if user select 'yes' button download the data else not. I think you know how to show Alert popup in iOS ! – vivekDas Oct 30 '18 at 05:50
  • Yes viveKDas, that's exactly I need to do. The issue is that I'm not very family with xcode, can you please help guide me trough this? There are different audio files to download by clicking a play button located in different areas of the application, audio files have different size, the alert must calculate automatically the size of each file and show it the user – Balde Oct 30 '18 at 09:23
  • On clicking the play button are you displaying any message to the user to indicate that the audio file is downloading ? – vivekDas Oct 30 '18 at 09:48
  • Yes, but the message doesn't show the download size – Balde Oct 30 '18 at 10:54
  • So if you are downloading the audio first and then playing you should show popup message to the user on clicking play button that - [do you want to download the audio file size 34 MB ? ](some message like this) with Yes and No button. If user click Yes start download the file and play else not. – vivekDas Oct 30 '18 at 11:50
  • Yes, how to add that kind of alert? – Balde Oct 30 '18 at 11:53
  • Check UIAlertController to show alert popup. Link: https://medium.com/ios-os-x-development/how-to-use-uialertcontroller-in-swift-70143d7fbede – vivekDas Oct 30 '18 at 11:55
  • Thanks viveKDas, I have seen it, but it is not well detailed for someone like me, lol. – Balde Oct 30 '18 at 12:28
  • how you developed the iOS app ? if you don't know about UIAlertController and alerts ? – vivekDas Oct 30 '18 at 13:26
  • The issue is not only the alert, but how to determine automatically the size of the to download, there up to 8000 to download – Balde Oct 31 '18 at 19:56
  • you can know the file size using the file URL before downloading Check these links: https://stackoverflow.com/questions/43797281/swift-get-file-size-from-url https://stackoverflow.com/questions/43797281/swift-get-file-size-from-url?rq=1 – vivekDas Nov 02 '18 at 05:24

0 Answers0