如何在iPhone上显示类似HTML的表格数据? [英] How to display HTML-like table data on iPhone?

查看:113
本文介绍了如何在iPhone上显示类似HTML的表格数据?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在矩阵中有一组数据,我想在我的iPhone应用程序中显示所有行和列完好无损。我在网上找到的关于桌面iPhone的所有内容都为我提供了有关UITableView的信息,它只允许您向用户显示项目列表 - 而不是HTML意义上的实际表格。在iPhone上向用户显示实际数据表的最佳方式是什么?行标题和表格单元格?

I have a set of data in a matrix which I would like to display in my iPhone app with all of the rows and columns intact. Everything I can find on the web dealing with "tables iPhone" gives me information on UITableView, which only lets you show a list of items to the user - not an actual table in the HTML sense. What's the best way on the iPhone to display an actual table of data to the user, with column & row headings and table cells?

推荐答案

我发现的解决方案只是使用UIWebView。然后我可以动态构建HTML表并将其加载到Web视图中。

The solution that I found was simply to use a UIWebView. Then I can build the HTML table dynamically and load it into the web view.

这篇关于如何在iPhone上显示类似HTML的表格数据?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆