Can you use accelerometer to determine orientation?

Like have a rule that checks if the device is in Portrait or Landscape position?
How would you set a rule for one or the other?
Thanks for any help! I appreciate it!!
How would you set a rule for one or the other?
Thanks for any help! I appreciate it!!
Comments