How to submit a form to a UIWebView loaded using HTMLString: baseURL :?

OIZ,

I am showing an html page containing a form with some input text fields and a submit button.

  • If I display the page using loadRequest: everything works fine.
  • If I display one page using loadHTMLString: baseURL: the submit button no longer works.

Address to be called:

http: //..../lire.php? id = 33570 # bloc_commentaire

If I register the address that he is trying to reach, I received:

applewebdata: // BF6F3D92-9F36-40CA-A3EB-BCD3F14852B6 # bloc_commentaire

Do you have any idea what I should do in order to publish a form loaded statically with loadHTMLString: baseURL :?

Thanks Vincent

+3
source
1

- , - , , html , -.

, baseURL

 [webView loadHTMLString:(NSString *)string baseURL:(NSURL *)baseURL]

:

- url html, baseURL, URL-, . :

http://www.test.com/foo/ baseURL url lke <a href="bar/hello.php">click me</a>

, http://www.test.com/foo/bar/hello.php

+7

All Articles