Add iOS equivalent of CocoaApplication example.

Change-Id: I4f1ad74617d3326001d49e67e1de7e308ab12eff
Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>