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

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

问题描述

我在一个矩阵中有一组数据,我想在我的 iPhone 应用程序中显示所有行和列都完好无损.我在网上找到的所有关于tables 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天全站免登陆