Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

dusker

macrumors member
Original poster
May 31, 2009
41
0
Hello,
i'm building a browser of html files, and as i have very many html files in my bundle i wanted to create something like favorites, so user can access most interesting files quickly.
In order to do that i wanted to get URL of the current file displayed in UIWebView and put it in an NSMutableArray.
What's the best way to get url or something that will allow getting back to that file later (like file's name?).
I used [webView relativeString] and it showed the entire path to the file inside iphone simulator, and i don't really know why it crushed when i tried to store it in an array.
can someone help?
greetings
peter
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.