"How to terminate an application" //But you need to understand that this is against "iPhone Human Interface Guidelines" exit(0);