Added Check for ios8