can anyone t开发者_JS百科ell 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;
精彩评论