I am beginner in Objective C and iOS. I have a doubt how can we open an excel sheet in our app. The question is that if i click on a button then excel sheet should be open.
问问题
2688 次
3 回答
4
更新:
在 iOS 8 及更高版本中运行的应用程序中,使用 WKWebView 类而不是使用 UIWebView。
https://developer.apple.com/documentation/webkit/wkwebview
要添加到@rckoenes 答案,这些是受支持的文件格式UIWebview
:
Excel (.xls)
Keynote (.key.zip)
Numbers (.numbers.zip)
Pages (.pages.zip)
PDF (.pdf)
Powerpoint (.ppt)
Word (.doc)
Rich Text Format (.rtf)
Rich Text Format Directory (.rtfd.zip)
Keynote '09 (.key)
Numbers '09 (.numbers)
Pages '09 (.pages)
这是课程描述的链接UIWebView
于 2013-08-08T11:33:34.693 回答
2
只需在 webview 中加载 excel 表,这将加载 excel 表并且用户可以查看它。
于 2013-08-08T11:28:21.010 回答
2
于 2013-08-08T11:30:48.037 回答