Submit datas to UIWebView

Is there a way to submit datas to a webpage (shown via UIWebView)?

Hi the problem I have: My App has stored the login datas of a user. Now I want to submit these datas to a UIWebView to log the user in. Is there a way and if so, how can I do it?

Thanks for help

Answers


I think you can make an html and within the body of that use data login dates.

NSString *datesDataHTML = [NSString stringWithFormat:@"<HTML><BODY>%@</BODY></HTML>", loginDatesiFrame];

    [_webView loadHTMLString:datesDataHTML baseURL:[NSURL URLWithString:@""]];

make a NSString *str = [NSString striwithformat:@"str %@",appendstring]; and load the string using the loadHTMLString function.


Need Your Help

Changes just in Xcode 4 simulator visible

xcode4 ios-simulator

I found a curious problem: I added a new Button to my ViewController.xib which is visible on my simulator. But when I test it on my iPhone it doesn't appear. So far I found out that no "new" change...

ASP to ASP.NET Helper Functions

c# asp.net asp-classic vbscript

I'm looking at converting a web site from classic ASP to ASP.NET. I'm thinking of doing an agile style approach and providing deliverables as quickly as possible and so am thinking of doing a line by