title: How do I change the WKWebview's user agent in OS X Yosemite?
body: <p>How do you change the user agent used by <code>WKWebview</code>?</p>
  
  <p>With the older <code>WebView</code>, I could write the following to change the user agent:</p>
  
  <pre><code>[myWebView setCustomUserAgent:@"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_4)
   AppleWebKit/537.77.4 (KHTML,like Gecko) Version/7.0.5 Safari/537.77.4"];
  </code></pre>