ios app working in xcode. runs on the ipad