iphone - UIWebView loadData and iWork Files -


i attempting open iwork 10 numbers file placed on web site uiwebview. tried following, , happens uiwebview loads blank. if download file local documents folder , load in uiwebview works. i'd read iwork file without downloading them...

fyi, have no issues pdf, ppt, doc, xls...

can tell me how load iwork file nsdata uiwebview?

[webview loaddata:receiveddata      mimetype:file.mediamimetype      textencodingname:nil      baseurl:[nsurl urlwithstring:pathtofile]  ]; 

the tested values mediamimetype are:

  • application/vnd.apple.numbers
  • application/x-iwork-numbers-sffnumbers

you need compress iwork file .zip extension display in webview.

refer link detail:

http://developer.apple.com/library/ios/#qa/qa1630/_index.html


Comments

Popular posts from this blog

linux - Mailx and Gmail nss config dir -

c# - Is it possible to remove an existing registration from Autofac container builder? -

php - Mysql PK and FK char(36) vs int(10) -