If they are not, they may not display correctly.
Keep in mind the way users will interact with their fingers. As there is no
mouse, you don't have precision over where the user will tap. Keep large
buttons; don't keep too many links together, and ensure that you handle only
events that you want to.
The phone can rotate and Safari will auto-rotate the application. Make sure
it works well with that. You can also listen for rotation change events and
redraw the page if you wish.
??? ???
???
Chapter 10
[ 199 ]
The default size of the available screen for the app is 320x396 pixels. But
develop for 480 pixels width; iPhone will scale it down.
Also note that testing in Safari on the desktop and testing on iPhone are
different. Don't assume something that works on Safari will work on
the iPhone.
There are no scrollbars and no windows. Whatever is the content size, iPhone
will fit it into its screen size by default.
The iPhone does not support Flash/Java/File Upload/Download. So don't
use them!
The iPhone has an onscreen keyboard. When the onscreen keyboard comes
up, the space available for your application will be less. Keep your input
fields limited, and together, so it's easier for the user to handle the keyboard.
Pages:
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267