Re: Running Safari from application
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 Safari? Remember, iPhone apps are sandboxed to prevent them from messing with each other's files. Cheers, -- Uli___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: Running Safari from application
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 of TeachText are everywhere... ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: Running Safari from application
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 to a data: URL and use that as the src= attribute.) Usually people just embed their own UIWebView if they want to display custom local HTML content. —Jens___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com