I want to upload a video using http post method. But due to size of video i think the request is time out. Can anybody tell me how to compress a video that is store in documents directory?
Asked
Active
Viewed 795 times
1 Answers
0
zlib is part of the iPhone sdk and is a well established and free option. If you're using Xcode you can add it to your project by:
- In the project navigator, select your project
- Select your target
- Select the 'Build Phases' tab
- Open 'Link Binaries With Libraries' expander
- Click the '+' button
- Select libz.1.2.3.dylib
- (optional) Drag and drop the added framework to the 'Frameworks' group
Reference 1: How to Decompress an AES-256 Encrypted Zip File?
Reference 2: How to “add existing frameworks” in Xcode 4?

Community
- 1
- 1

Ahmad Kayyali
- 8,233
- 13
- 49
- 83