views:

179

answers:

2

How do I open an Excel file while working with iphone simulator?

A: 

I am not sure, but you can try to use loadData: method of UIWebView with mimetype @"application/excel".

Morion
A: 

I think Morion is right that you can open an Excel file in a UIWebView, but that might not work in the Simulator, and I'm not sure how well you could programmatically extract the information you want to add to the ABAddressBook.

Perhaps you want to save the Excel file as a CSV file? Then you can include it as a resource in your application and parse the contents quite easily?

Or do you want the user to be able to specify an arbitrary Excel file?

Dan J