Added beginning of iOS support