This is an app that I've created when I was learning iOS development. I never tested it on iPhone but only with Simulator.