How to add HTTP headers in request globally for iOS in wkwebview with swift

How can I add HTTP headers not only in initial loads and also able to load for every request?

The below code will only work for initial loads but not subsequence URL
Code Block
var request = URLRequest(url: urlToLoad)
request.setValue("true", forHTTPHeaderField: "CustomHeader")
webView.load(request)


How to add HTTP headers in request globally for iOS in wkwebview with swift
 
 
Q