Cleanup ipad and iphone output.