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

Python Requests cookies of a specific request within the session

python http python-3.x cookies python-requests

I'm trying to find a way to extract and optionally delete cookies sent by a specific request, instead of checking the session cookie jar.

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.