prepare for ios