views:

18

answers:

1

can anyone tell me why this line would throw an incompatible types error?

UIDeviceOrientation *orientation = [UIDevice currentDevice].orientation;
+3  A: 

It's not returning a pointer:

UIDeviceOrientation orientation = [UIDevice currentDevice].orientation;
No one in particular
ooooh...i see now, thanks.
Joe