Sorry, I don't have an iPhone to test and I have no knowledge on iPhone
development.

Let us know if you get it working. The cookies are used to retrieve saved
preferences, and should not be the problem here I suppose. Maybe the problem
is that the "document" object itself isn't available via loadHTMLString.

Try using the loadRequest method and let us know what happens.

regards,

Pedro Simonetti.

2011/8/18 Julian <[email protected]>

> I think I found the problem (i have to check if it's really that)
>
> There is 2 way to load a UIWebView :
> - loadRequest method to load a content from an URL
> - LoadHTMLString method to load from a NSString (string type in
> objective-c)
>
> I use the second method which not send a HTTP request like the first
> one.
> And without a HTTP request, firebug can't access to the
> document.cookie propertie (no error catched but the execution was
> stopped).
>
> I'm testing with loadRequest and i'll write a feedback here.
>
>
> Thanks,
>
> Julian
>
>
>
> On 18 août, 11:57, Sebo <[email protected]> wrote:
> > I guess Pedro can help here...
> >
> > On Aug 11, 10:06 pm, Julian <[email protected]> wrote:
> >
> >
> >
> >
> >
> >
> >
> > > Hi all,
> >
> > > I want to integrate Firebug Lite for my web-based iPhone application.
> > > I downloaded firebug lite and I integrate it in my UIWebview in the
> > > <head> section of the HTML page.
> > > I haven't any error but the firebug button doen's appear at the bottom
> > > of the view.
> >
> > > Is there a way to integrate the debugger into an iPhone UIWebView ?
> >
> > > Thanks in advance !
> >
> > > Julian
>
> --
> You received this message because you are subscribed to the Google Groups
> "Firebug" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected].
> For more options, visit this group at
> http://groups.google.com/group/firebug?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Firebug" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/firebug?hl=en.

Reply via email to