我对使用 PhoneGap 开发 iPhone 应用程序还很陌生。我在 Google 中搜索过使用 PhoneGap 框架在 iPhone 应用程序中添加 UITableView。我已经下载并安装了 PhoneGap
。我想制作一个在 PhoneGap iPhone 应用程序中使用 UITableView 的简单 iPhone 应用程序
。我已引用以下链接通过 PhoneGap 开发一个简单的 iphone 应用程序,
我已经为 tableview 编写了 HTML 格式的代码
。我不知道如何使用 PhoneGap 在 iPhone 应用程序中使用和显示表格 View 。你能帮我使用 PhoneGap 在 iPhone 应用程序中使用 UITableView 吗?提前致谢。
最佳答案
您看过 PhoneGap.com 上的“入门”指南了吗?有关如何设置 PhoneGap iOS 应用程序的详细说明:http://docs.phonegap.com/en/2.0.0/guide_getting-started_ios_index.md.html#Getting%20Started%20with%20iOS
您不需要使用 objective-c 的 uitableview。您只需要创建您的 HTML 界面(div 或表格等)。 Phonegap 利用 Web View 将您的 HTML 呈现为移动应用程序界面。不需要 objective-c 编码。
关于iphone - 如何使用 PhoneGap 在 iPhone 应用程序中添加 UITableview?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/12024802/