In iOS v13.x there is a new feature, called “Request Desktop Website”, which allows iPads and iPhones to pretend that they are desktop devices. It does this by returning a value in the UserAgent included in the HTTP Header which indicates “Macintosh" instead of “iPad" or “iPhone”. This new feature defaults to “On” in iOS13.x.
The application I am supporting serves different HTML pages depending on whether a desktop or mobile device is detected during On Web Authentication. Currently our code parses the User Agent value returned by WEB GET HTTP HEADER to determine whether a desktop or a mobile page should be sent. Now that that approach is unreliable, I’m looking for another way to determine the hardware platform. I need something which I can reference with server side 4D code. What do others do in this case? Thanks, Tom Benedict ********************************************************************** 4D Internet Users Group (4D iNUG) Archive: http://lists.4d.com/archives.html Options: https://lists.4d.com/mailman/options/4d_tech Unsub: mailto:[email protected] **********************************************************************

