How to do upload of large sized video file to server ? while uploading user presses “Homebutton” How long will execute?



How to do upload of large sized video file to server ? while uploading user presses “Homebutto..

Answer / Sudhanshu Bajpai

To upload a large-sized video file, you can use libraries like Alamofire or AFNetworking. These libraries provide methods for multipart form data uploads which allow you to split the large file into smaller chunks and upload them sequentially. This helps in resuming interrupted uploads and handling network interruptions gracefully.nnWhen a user presses the Home button, the application enters the background. The upload operation can continue in the background if you use NSURLSession with delegate methods like URLSession:didBecomeActiveWithOptions: to resume the upload when the app becomes active again.nnThe exact time of execution depends on the size of the file, network speed, and device capabilities. However, you should ensure that the upload operation is properly managed to avoid consuming too much battery or causing undue strain on the device.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Apple iOS Interview Questions

. Name the framework that is used to construct application’s user interface for iOS. 

1 Answers  


What design patterns do you use in ios? : IOS Architect

1 Answers  


How to de-symbolicate crash log?

1 Answers  


Explain "private", "protected" and "public"?

1 Answers  


What NSAutorelease pool

1 Answers  


Enlist the latest ios development patform?

1 Answers  


Name the app sate which it reaches briefly on its way to being suspended in iOS operating system?

1 Answers   TryTechnicals Pvt Ltd,


How you can add frameworks in xcode project?

1 Answers  


Please explain what is difference strong and weak reference?

1 Answers  


How to set your application id after becoming a member of iphone developer program?

1 Answers  


What is ios image?

1 Answers  


 An app is loaded into memory but is not executing any code. In which state will be in?

1 Answers  


Categories