Unable to access WhatsApp web on Safari for iPad
Solution 1:
With the latest edition of iPadOS which will be released on September 30th (source), Safari has been turned into a "desktop-class browser" (Apple) and therefore WhatsApp Web can be used on iPad.
I have tried it on the Safari browser on the current iPadOS beta and WhatsApp Web works like a charm.
Solution 2:
It’s not possible to run WhatsApp Web on Safari running on iPad/iOS. This restriction is imposed by WhatsApp website backend.
Request to load desktop website is not honoured by the WhatsApp web app backend, as the Web interface to the app is meant to be accessed only on a desktop computer. This is a limitation imposed by WhatsApp and has nothing to do with iPad/iOS.
Users can request to load desktop version of any website when accessing it using Safari for iOS, but the same can be dishonoured by the website’s server at its own discretion.
Solution 3:
Here how i did this by overriding user agent. Note this is related to Swift and programmer who want to access web whatsapp in webview. In order to open in Safari simply long press the refresh button in address bar and you will see an option "Desktop version"
@IBOutlet weak var webView:WKWebView!
let url = URL(string: "https://web.whatsapp.com/")!
let urlRequest = URLRequest(url: url)
webView.navigationDelegate = self
webView.customUserAgent = "Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/63.0.3239.84 Safari/537.36"
webView.load(urlRequest)