Added function iosIsVersion7().