iphone - 如何使用 PhoneGap 在 iPhone 应用程序中添加 UITableview?

标签 iphone ios uitableview cordova

我对使用 PhoneGap 开发 iPhone 应用程序还很陌生。我在 Google 中搜索过使用 PhoneGap 框架在 iPhone 应用程序中添加 UITableView。我已经下载并安装了 PhoneGap。我想制作一个在 PhoneGap iPhone 应用程序中使用 UITableView 的简单 iPhone 应用程序。我已引用以下链接通过 PhoneGap 开发一个简单的 iphone 应用程序,

http://taitems.github.com/iOS-Inspired-jQuery-Mobile-Theme/

我已经为 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/

相关文章:

iphone - 在 iPhone 的 Objective-C 中的 (commitEditingStyle) 之外调用 (deleteRowsAtIndexPaths)

ios - 将 segue 从 ViewController 推送到 TableViewController 不工作

ios - 方法 cellForRowAtIndexPath 未从方法 shouldChangeCharactersInRange 中调用

ios - 获取一个 NSArray

iphone - iPhone:单个开发人员是否需要临时配置?

iphone - 在一个 View 上执行一个 Action ,而该 Action 在另一个 View 上做某事?这可能吗?

ios - 有没有办法在界面生成器中制作渐变背景颜色?

ios - iTunes 商店中的大应用程序大小

ios - 我应该如何设置包含 UIControls 的 UITableViewCell 子类?

iphone - 像滑动菜单一样推文