0

ok guys so i'm new in iphone dev you know it !

I want to add badge from my app : i know how to in the application did finish launching.

But i want to it depending on an int value i have stored in a plist (just one string an int value) i have placed on my server htt://anadress/myplist.plist

How can i read the content of this value in the plist from my server thanks to all it'll help so much

Florent
  • 21
  • 3

1 Answers1

1

Check out the arrayWithContentsOfURL method or the corresponding NSDictionary, NSString, etc methods.

Rob Lourens
  • 15,081
  • 5
  • 76
  • 91
  • thnaks a lot so i have to create an array using arrayWithcontentOfURL – Florent May 02 '10 at 00:37
  • Just to be clear, it doesn't *have* to be an array, that's just one example of how to load data from a URL. There are similar methods for whatever data structure you are using in your plist. And if this is the correct answer, you can mark it by clicking the checkmark. – Rob Lourens May 02 '10 at 17:01