TOCScreenshot is a simple helper to take screenshots in code. You can optionally crop the status bar region.