Added iOS handling.