add some iOS support