0
誰能告訴我爲什麼這行會拋出一個不兼容的類型錯誤?UIDeviceOrientation * orientation = [UIDevice currentDevice] .orientation;得到一個'不兼容的類型初始化'錯誤
UIDeviceOrientation *orientation = [UIDevice currentDevice].orientation;
誰能告訴我爲什麼這行會拋出一個不兼容的類型錯誤?UIDeviceOrientation * orientation = [UIDevice currentDevice] .orientation;得到一個'不兼容的類型初始化'錯誤
UIDeviceOrientation *orientation = [UIDevice currentDevice].orientation;
它不是返回一個指針:
UIDeviceOrientation orientation = [UIDevice currentDevice].orientation;
OOOOH ...我現在看到的,謝謝。 – Joe 2010-08-30 01:07:07