Re: Running Safari from application

2009-09-18 Thread Uli Kusterer
On 18.09.2009, at 10:26, Bartosz Białecki wrote: The problem is that the safari is not launched. If I put in showPageInSafari function openURL: [NSURL URLWithString: @http://www.example.com/index.php;] then it works. Do you know what is wrong? Could it be that the path is not accessible for

Re: Running Safari from application

2009-09-18 Thread Uli Kusterer
On 18.09.2009, at 18:52, Bartosz Białecki wrote: I think so too. So do you know maybe another solution how to open local html file with Safari? No. But you could always use a web view instead? Or maybe there's some sort of shared folder somewhere? Cheers, -- Uli Kusterer The witnesses

Re: Running Safari from application

2009-09-18 Thread Jens Alfke
On 18.09.2009, at 18:52, Bartosz Białecki wrote: I think so too. So do you know maybe another solution how to open local html file with Safari? You could encode the entire HTML file in a 'data:' URL, if it's not too huge. (You'd have to do the same thing to any custom image: convert it