Set an XPage to Size for the iPhone and iPad

Mindwatering Incorporated

Author: Tripp W Black

Created: 01/25/2012 at 03:14 AM

 

Category:
Notes Developer Tips
XPages

Issue:
You want to reformat a XPage application down to the iPhone or iPad.

Solution:
Assuming your panels are not hardcoded in width, this is accomplished easily with:
<meta name="viewport" content="width=320; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" />
<meta name="apple-mobile-web-app-capable" content="yes" />




previous page