Using Remote Text Files

Hi, I am developing an iPhone App and what I need to do is this, when the user clicks a button the program will display the contents of a remote txt file from my website (Not the HTML, just the contents of the txt files, ex: http://www.testing123.com/txtfiles/test.txt) and display it in a label or UITextView, whichever one. I have been searching the internet for the answers and I cannot find the answer. I am a newbie at Objective C and need someone's help. The most easiest way to do it would be great. Thanks so much to anyone that can help me! I was looking at possibly using NSString stringWithContentsOfURL or NSString stringWithContentsOfFile but I do not know how to use them.

Nicholas

Mac OS X (10.5.4)

Posted on Nov 16, 2008 9:07 AM

Reply

There are no replies.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Using Remote Text Files

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.