While working on my latest app, PomoTracker, I was trying to come up with a simple way to create launch images for the app. Since I needed a total of 7 images, I searched for a tool that may make the creation simple. I haven’t come across anything yet but I have at least simplified the process a bit.
The first view controller that loads is a UITableViewController that lists all the user’s projects. The projects are loaded via a single goal to configure the table view. When I need to make launch screenshots, I simply replace the call to configure the tableview with the following:
self.navigationItem.leftBarButtonItem = nil;
self.navigationItem.rightBarButtonItem = nil;
[self setTitle:@” “];
You could further refactor this by creating a simple showInLaunchMode method and use a macro to determine when this method is called versus the normal tableview configuration.