Quote:
Originally Posted by fiftysixty
Looks like you forgot to set the UIWebView delegate in your new code.
|
Do you mean setting this?
Code:
myWebView.delegate = self;
i added it in now, and yes, the method is being called. may i ask, what is the significant of setting the UIWebView delegate, why do we need to set it?
Now tat the method in question is executed, but the credentials aren't filling up. i suppose could be because the "id" were incorrect?
Update*
i tried playing around with different id and found that the email field's id is "email", instead of "Email"
Is there a way i can say for sure find out what each field's ID is?
update**
I figured out how to find out for sure what is the ID used for different field. i went to facebook's login page and click on view source code and i got it for there. Success as i was able to auto fill in all the credentials and successfully login in to Facebook from my App =))
Thanks fiftysixty!