locked
Determine which side of screen App is snapped to

    Question

  • Hi,

    I am making a little piano app, and am trying to make the piano display sideways when snapped (by that I mean the piano is rendered along the length of the snapped section, not the 320px width). I can't figure out how to detect when the app is snapped on the right side of the screen, however, so when the user does that the black keys are on the outside edge of the screen rather than the inside.

    Is there a way to tell which side of the screen the app is snapped to, or can you only detect if it is snapped on either side?
    Friday, July 6, 2012 12:24 AM

Answers