Modified ios 6 detection