problem rotation?!?

problem rotation?!?
0.0 0


Hi, I have compiled a iphone sample… but if I change the orientation device, I have this error:

‘UIApplicationInvalidInterfaceOrientation’, reason: ‘Supported orientations has no common orientation with the application, and shouldAutorotate is returning YES’
* First throw call stack:
(0x262d012 0x1dc6e7e 0x262cdeb 0xdfb702 0xdf6046 0xdf6246 0xd3f01f 0x2b0b 0xd0b7b7 0xd0bda7 0xd0cfab 0xd1e315 0xd1f24b 0xd10cf8 0x2fc7df9 0x2fc7ad0 0x25a2bf5 0x25a2962 0x25d3bb6 0x25d2f44 0x25d2e1b 0xd0c7da 0xd0e65c 0x3356 0x2715 0x1)
libc++abi.dylib: terminate called throwing an exception

how resolve it ?



I am not sure, but you can check the “Supported interface orientations” field in Info.plist