can anyone tell me why this line would throw an incompatible types error?
UIDeviceOrientation *orientation = [UIDevice currentDevice].orientation;
can anyone tell me why this line would throw an incompatible types error?
UIDeviceOrientation *orientation = [UIDevice currentDevice].orientation;
It's not returning a pointer:
UIDeviceOrientation orientation = [UIDevice currentDevice].orientation;