# Previewing an iPhone sample project [edit]

This page describes how to quickly preview an iPhone sample project.

## Introduction

The iPhone plug-in also comes with several sample iPhone projects that you can preview and import as templates for your own iPhone project work. These samples are available in the Samples View. (See Displaying the Samples View to learn more about this view.)

Note: In addition to previewing an iPhone project in Aptana, you can also preview a project on your iPhone. See * Viewing a project on your iPhone to learn more.

## Instructions

To preview an iPhone sample project:

1. In the Samples View, expand the iPhone project node.
2. Select the project that you want to preview.
3. Click the View preview of sample button .

A preview of the project opens in an iPhone browser in the Preview pane.

- To rotate the phone view, click inside of the preview and outside of the phone.
- Use the browser controls inside the preview just like you would on an iPhone.

## Related Topics

- About Apple iPhone development
- Installing the iPhone plug-in
- Creating a new iPhone project
- Creating an iPhone run configuration
- Viewing a project on your iPhone
- Using console logging for the iPhone

Retrieved from "http://aptana.com/docs/index.php/Previewing_an_iPhone_sample_project"

Category: AptanaHelp