Go Back   MacRumors Forums > Apple Systems and Services > Programming > iPhone/iPad Programming

Reply
 
Thread Tools Search this Thread Display Modes
Old Dec 22, 2008, 11:58 PM   #1
moonraker928
macrumors newbie
 
Join Date: Dec 2008
a view which displays data from web

hey,
so i am trying to output a pie chart on one of the pages in my iphone app. one method i am attempting is to create a space on the iphone page which retrieves the display on a webpage which links to the google charts API

ex:

the blank iphone screen of my app will show a pie chart based on the pie chart that is shown when you visit: http://chart.apis.google.com/chart?c...hl=Hello|World

what are some ways i can go about accomplishing this line of thinking? or is there a much easier iPhone specific API i can use? other strategies?

i used the UICatalog sample code the SDK provided and edited the WebView section by replacing the http://www.apple.com URL with the one shown above and ran the app. nothing was shown on my screen, which means the content on that URL was not processed - why did this happen?
moonraker928 is offline   0 Reply With Quote
Old Dec 23, 2008, 02:39 AM   #2
a5sk4s
macrumors newbie
 
Join Date: Sep 2008
Problem seems to be "Hello|World". I'm not sure what the recommended URL encoding method is, but using "Hello%7CWorld" worked. The vertical bar is considered an unsafe character, hence the issue.
a5sk4s is offline   0 Reply With Quote

Reply
MacRumors Forums > Apple Systems and Services > Programming > iPhone/iPad Programming

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Similar Threads
thread Thread Starter Forum Replies Last Post
Resizing a Chatbox in Web View? logicpro7 iPhone/iPad Programming 0 Oct 29, 2013 01:32 PM
How do you view the web view of twitter on the iPhone? Tsunam Apple, Industry and Internet Discussion 3 May 1, 2013 09:36 PM
Pages '09/iWork '09: Web View mode / view all pages as one page in Pages boyscoutslayer Mac Applications and Mac App Store 0 May 1, 2013 08:48 AM
Music player app that displays list view yourmother iPad Apps 0 Nov 2, 2012 10:55 PM
Passing Data between View Controllers : from uitableview to a details view controller EliasRahme iPhone/iPad Programming 7 Jul 20, 2012 09:04 AM

Forum Jump

All times are GMT -5. The time now is 03:44 PM.

Mac Rumors | Mac | iPhone | iPhone Game Reviews | iPhone Apps

Mobile Version | Fixed | Fluid | Fluid HD
Copyright 2002-2013, MacRumors.com, LLC