Snippet to know device iOS version