Note: This topic applies to Web Forms Mobile Application presentation project types when running on iOS only. Refer to Creating Web Forms Mobile Application Projects.
An end user on an iOS device, such as an iPhone® or iPad™ can access your WebApp by running the mobile Safari® browser and navigating to the URL for your application. However, the user will have a better experience when running your application in full screen mode.
To run your application in full screen mode, the iOS user must add your WebApp to the Home screen. For more information on the Running Full Screen on an iOS Device, refer to Testing a Web Forms Mobile Application.
When a user adds your WebApp to the Home screen, an icon appears. When the user taps the icon, an optional startup image (like a splash screen) appears as the WebApp loads.
When you create a new ASP.Net Web Forms Mobile Application presentation project, Unisys provides default images for the icon and startup image. You can modify this default behavior as follows:
If you do not want to provide a custom icon, simply delete the file apple-touch-icon.png, located in the root of your project. In this case, a thumbnail screen shot of your application home page is used as the icon.
If you do not want to provide a custom startup image, simply delete the file Startup.png, located in the root of your project. By default, the last screen the user displayed for your WebApp acts as the startup image.
You can provide your own custom icon. Overwrite the file apple-touch-icon.png with your own icon image file. The icon image must be a Portable Network Graphics (PNG) file that measures 57 x 57 pixels. For guidelines on creating your icon, search for the topic Create an Icon for Your Web Application or Webpage at the Apple developer Web site (developer.apple.com).
You can provide your own custom startup image. Overwrite the file Startup.png with your own startup image file. For an iPhone and iPod touch, the startup image must be a PNG file that measures 320 x 460 pixels. For an iPad, the startup image must be a PNG file that measures 768 x 1004 pixels. Note that a startup image must always be in portrait orientation.