<meta name="apple-mobile-web-app-capable" content="yes">so as to be able to make my app a fullscreen web app on iPhone. However, if I access it from the web app bookmark on my homescreen, instead of being presented with my mobile interface (if the device is mobile it gets the mobile version, otherwise the desktop version, etc) I get the desktop version. So I did a var_dump() on Agent::properties(). In safari on the iPhone it is recognized perfectly. As a web app, it is only recognized as "Default browser" on unknown platform. Anybody have any ideas? Thanks! Edit For now my fix is checking the $_SERVER for iPhone
Harro Verton wrote on Sunday 1st of April 2012:How is your agent class configured? This suggests the browscap file isn't fetched or installed.
On iOS, when browsing in Safari you can add websites to your home screen as their own application. In doing so, it makes the site look much more like a native application by removing the address bar and the 'actions' bar at the bottom (back, forward, send to, bookmarks, tabs, etc). It also gives the web app that much more space (so if it is checking based on the window height and width it'd be different). But it should still be a wrapper for Safari and the User Agent very similar if not the same. I will see what other information I can collect on that issue and forward it on to Mr. Keith. Thanks.Harro Verton wrote on Monday 2nd of April 2012:I'm not familiar with the platform, so I don't know what you mean by "as a web app". But I assume that it doesn't use the normal Safari as client, so the user agent string is not recognized by the Agent class. See if you can log the information on the server, and send it to Gary Keith who maintains the browscap file, so it can be included in the file.
It looks like you're new here. If you want to get involved, click one of these buttons!