Compiler Warning... Implicit conversion from enumeration type 'UIInterfaceOrientation' to different enumeration type 'UIDeviceOrientation'?

Viewed 11871

In Xcode I get a warning in the following line for FBConnect:

_orientation = [UIApplication sharedApplication].statusBarOrientation;

This is the full warning:

Implicit conversion from enumeration type 'UIInterfaceOrientation' to different enumeration type 'UIDeviceOrientation'

Any ideas how I can fix this?

Thanks!

2 Answers
Related