Ported to iOS 6 in two different ways: precise and quick'n'dirty.