Tag: html

Interacting with Javascript in WKWebView

You can use the WKWebView class to embed web content in your app. To do so, create a WKWebView object, set it as the view, and send it a request to load web content. After creating a new WKWebView object using the initWithFrame:configuration: method, you need to load the web content. Use the loadHTMLString:baseURL: method to begin loading local HTML files or the loadRequest: method to begin

Continue Reading →

use CURL for testing form inputs

Instead of creating a special html form to test inputs, you can use CURL to do it for you through command line. You will be saving time. ex: curl -F “email=test@test.com” -F “password=test” in the above example i have two parameters, email and password. if it was a form, i would have two text

Continue Reading →