Search code examples
iosobjective-ciphonegunzip

ungzip data receiving from server


An API call giving me data as response and this data is gzipped string. How I can ungzip this data and get the original string back as NSString in my iOS App.


Solution

  • You can look for approach or directly use this solution, and then convert unzipped data to NSString.