Prepare for ios