code: def save_to_assets_library(jpeg_data, &block)
      assets_library.writeImageDataToSavedPhotosAlbum(jpeg_data, metadata: nil, completionBlock: -> (asset_url, error) {
        error ? error_callback.call(error) : block.call(asset_url)
      })
    end
docs: iOS 4-8