📱iOS
The YungPoints Offerwall is hosted on the web giving your application a native look-and-feel.
URL
https://jdcurrent.com/offers/31/YourTrackingIDExample
import UIKit
import WebKit
class ViewController: UIViewController, WKUIDelegate {
var webView: WKWebView!
override func loadView() {
let webConfiguration = WKWebViewConfiguration()
webView = WKWebView(frame: .zero, configuration: webConfiguration)
webView.uiDelegate = self
view = webView
}
override func viewDidLoad() {
super.viewDidLoad()
let myURL = URL(string:"https://jdcurrent.com/offers/31/YourTrackingID")
let myRequest = URLRequest(url: myURL!)
webView.load(myRequest)
}}Last updated