Login to download the latest version of Mint and your favorite Pepper, purchase additional licenses, or post in the Forum. Don't have an account? Create one!
Yeah, it seems you are detecting by user agent. I just changed line 55 to the following:
$this->isiPhone = (isset($_SERVER['HTTP_USER_AGENT']) && ( strpos($_SERVER['HTTP_USER_AGENT'], 'iPhone') || strpos($_SERVER['HTTP_USER_AGENT'], 'iPod') ) !== false);
That will take care of the iPod touch. Thanks again for the Pepper.
FYI, Webkit.org has a nice iPhone/touch detection script: http://webkit.org/blog/119/webkit-detec … ipod-touch
I love the iPhone pepper and it works great with my iPod Touch. I only see one problem. I like single-column view on my desktop and have the width set to 600px. But when I view my Mint (with iPhone Pepper) on my iPod Touch it keeps the width at 600px and I cannot zoom out — I am forced to scroll side-to-side.
Can iPhone pepper be updated to ignore the single-column width entirely so that the width adapts to the screen like when single-column mode is turned off?
Hi, I’ve never used this pepper before, so don’t know whether this is intentional. When accessing the web app from the homscreen of an iphone 4, the url bar at the top and status bar at the bottom are still present. The viewport however, is not scalable. I tried copying :
to line 105 of class.php, but didn’t do anything. Regards, Steven
I’m not sure about making the viewport scaleable, but having the URL bar and status bar present are normal. What you’re describing as a “web app” is actually just a WebClip, which is nothing more than a bookmark that is added to the home screen, and its function is no different than a standard bookmark which loads Mint with a special iPhone/iPod-only layout.