if ( iPhoneInput.touchCount == 2 )
{
iPhoneTouch touch1 = iPhoneInput.GetTouch( 0 );
iPhoneTouch touch2 = iPhoneInput.GetTouch( 1 );
// Find out how the touches have moved relative to eachother:
Vector2 curDist = touch1.position - touch2.position;
Vector2 prevDist = (touch1.position - touch1.positionDelta) - (touch2.position - touch2.positionDelta);
float touchDelta = curDist.magnitude - prevDist.magnitude;
// move camera in world coordinates
//Camera.main.transform.position -= new Vector3(0, 0, touchDelta * .5f);
// translate along local coordinate space
Camera.main.transform.Translate(0,0,touchDelta*.5f);
}