Add iOS support for decoder.