touches in landscape and portrait orientations

Discussion in 'iOS Development' started by psudheer28, Oct 18, 2010.

  1. psudheer28

    psudheer28 New Member

    Joined:
    Oct 28, 2009
    Messages:
    1
    Likes Received:
    0
    Hi all,

    i am developing a game for iPad, on Portrait and landscape orientations.

    i am taking touches on four corners of the screen, touches is working properly on landscape mode, where as in Portrait mode actual problem, touches working on top corners but bottom corners touches is not working.

    i think in portrait mode the view frame size is 748X1024 , but when i prints the frame size it is showing 1024X748.

    How to solve this, need touches on four corners in landscape and portrait modes.

    thank you
  2. evilish2236

    evilish2236 New Member

    Joined:
    Mar 11, 2009
    Messages:
    54
    Likes Received:
    0
    Device:
    4G iPod touch
    Why are you guessing the size, why not just call for the resolution with code.

Share This Page