Fix launchImage function for iPhones