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
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