Remove iOS6-specific code