开发者

UIDeviceOrientation *orientation = [UIDevice currentDevice].orientation; gets an 'incomplatible types in initialization' error

开发者 https://www.devze.com 2023-01-13 08:50 出处:网络
can anyone t开发者_JS百科ell me why this line would throw an incompatible types error? UIDeviceOrientation *orientation = [UIDevice currentDevice].orientation;

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;
0

精彩评论

暂无评论...
验证码 换一张
取 消