chang code for ios7