Added OS check for iOS and device check for iPod