In most of the phones that uses android OS contains orientation sensor which forms a part of motion events. These sensors output the change in the orientation of the device at interval rate set by the user. But iphone doesnt have any orientation sensor, So how can i establish this task in an iphone?
Thanks in advance!