I use Track 3. It has info about a lot of foods and chain restaurants. It let's you input custom foods, and meals as well. It also logs insulin and other meds. It has an insulin calculator also. It will export a report through email that can be put in excel. I use this, but takes some manipulation in excel for a more usable report. It can also be read by other spreadsheet programs, but I have only used excel. The database is in the iPad, no need to be online to use it.
EDIT: I would like to just say there was an update and now it is confussing to enter data. My 5 star rating is down to 2. I would go back if I could.