File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Inserting web content in your native iPhone application

 
amita Dewan
Greenhorn
Posts: 9
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I want to build iPhone application which is displaying data in UITableView and also inserting web content through UIWebView. I am totally new to Iphone. So please provide me link where I can find the code and its explanation.
 
Mark Spritzler
ranger
Sheriff
Posts: 17276
6
IntelliJ IDE Mac Spring
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
A UITableView uses UITableViewCell to display each row. You can create your own custom cell in code or in Interface Builder.

In the UITableViewCell you just add a subview of type UIWebView and load it with your URL. Now note that if your web url has lots of data, it might be really hard to read in a cell in a tableview.

I will look for a tutorial link for you.

Mark
 
amita Dewan
Greenhorn
Posts: 9
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks for your effort Mark.
I am trying to build a drug store application for selected U.S. cities which will be displayed in a TableView. And tapping on a specific city will display its drug stores in tableview.
or
application will ask for a pincode input and will display the desired stores in a tableView.

If you can provide me any related or similar tutorial link it will be really helpful.
Thanks in advance.
 
Alaa Nassef
Ranch Hand
Posts: 471
Hibernate Mac OS X Spring
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
amita Dewan wrote:Thanks for your effort Mark.
I am trying to build a drug store application for selected U.S. cities which will be displayed in a TableView. And tapping on a specific city will display its drug stores in tableview.
or
application will ask for a pincode input and will display the desired stores in a tableView.


So why the web view? Why don't you just display the names and addresses of the drug stores in the table view, and when the user clicks on one, you open a new controller with the web view in it? Just a thought
 
amita Dewan
Greenhorn
Posts: 9
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

It is really difficult for me to understand your theory, only because I am new to iPhone development. Please help me by providing the sample which can be good starting point for me. Thanks in advance for everybody's help.
 
amita Dewan
Greenhorn
Posts: 9
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please tell me from where can I get drug store or Traffic API to bind in with UIWebView
Please reply
 
Rory Lewis
Author
Greenhorn
Posts: 5
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Mark Spritzler wrote:A UITableView uses UITableViewCell to display each row. You can create your own custom cell in code or in Interface Builder.

In the UITableViewCell you just add a subview of type UIWebView and load it with your URL. Now note that if your web url has lots of data, it might be really hard to read in a cell in a tableview.

I will look for a tutorial link for you.

Mark


This is correct. Here is a possible tutorial. http://iphoneincubator.com/blog/windows-views/display-rich-text-using-a-uiwebview

http://www.rorylewis.com/ipad_forum/
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic