Add ios8 support