right now i'm doing this:
UIDevice myDevice = [UIDevice currentDevice];
[myDevice beginGeneratingDeviceOrientationNotifications];
UIDeviceOrientation currentOrientation = [myDevice orientation];
but it doesn't detect an iphone that is rotated (in the simulator)? how do i actually pick up the notifcations?
UIDevice myDevice = [UIDevice currentDevice];
[myDevice beginGeneratingDeviceOrientationNotifications];
UIDeviceOrientation currentOrientation = [myDevice orientation];
but it doesn't detect an iphone that is rotated (in the simulator)? how do i actually pick up the notifcations?