iEntry 10th Anniversary RSS Newsletter Advertising
Visit Twellow.com
Text: Decrease Font Size Increase Font Size | Print Print Article | Share: Delicious Digg StumbleUpon Post to Twitter Post to Facebook
CommentMonday, July 2, 2007

Size Matters To iPhone Marketing

2 Comments

Lots of good techniques being discovered.

I recommend against detecting the screen size, there are much better approaches to building iPhone apps.

For instance, just adding a viewport of 720 can make a big difference over the iPhone's default 980.

Lately I've been enamored of the viewport as it renders so well in both landscape and portrait, flows well, and works well for web pages that don't have columns wider then 480 columns or requiring page wider then 720.

If you need to detect the iPhone, first try to make what you need through CSS3 media queries (examples in www.iPhoneWebDev.com list discussions, final 'best practices' to be released soon). If that doesn't work, then user agent detection is best.

You definitely should check out the www.iPhoneWebDev.com community for solutions to a number of problems in creating web pages and webapps for the iPhone.

For instance, we've figured out the best way to hide the URL bar -- see http://groups.google.com/group/iphonewebdev/browse_thread/thread/c064b18...

We have figured out how best to detect orientation change and change UI for landscape vs portrait -- http://groups.google.com/group/iphonewebdev/browse_thread/thread/e041ae0...

A lot of discussion about best practices re: viewport --
http://groups.google.com/group/iphonewebdev/browse_thread/thread/f43493a...

Dealing with various problems of scaling -- http://groups.google.com/group/iphonewebdev/browse_thread/thread/b09a202...

We are figuring out how to create objects that drag using two-finger drag -- http://groups.google.com/group/iphonewebdev/browse_thread/thread/991a047...

Come join us helping iPhone developers help iPhone developers!

Re: Lots of good techniques being discovered.

The blog software cut off the viewport tag that I am enamored of. It is [meta name=“viewport” id=“viewport” content = “maximum-scale = 0.6667; width = 480" /]

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

Post new comment

The content of this field is kept private and will not be shown publicly.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.
CAPTCHA
This question is for testing whether you are a human visitor and to prevent automated spam submissions.
6 + 1 =
Solve this simple math problem and enter the result. E.g. for 1+3, enter 4.
SEARCH
Popular WPN Business Resources












Subscribe to WebProNews


Send me relevant info